From 315aa9501cf31abf5b66b0a584ed3ac51ed2bba6 Mon Sep 17 00:00:00 2001 From: Kiefer Chang Date: Wed, 14 Aug 2024 16:25:50 +0800 Subject: [PATCH] fix: fail to build raw images Skip the hardware check in the transient building VM. Signed-off-by: Kiefer Chang --- scripts/package-harvester-os | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/package-harvester-os b/scripts/package-harvester-os index 2d2f90551..5afa69d6b 100755 --- a/scripts/package-harvester-os +++ b/scripts/package-harvester-os @@ -182,7 +182,7 @@ if [ "${BUILD_QCOW}" == "true" ]; then -append "cdroot root=live:CDLABEL=COS_LIVE rd.live.dir=/ rd.live.ram=1 rd.live.squashimg=rootfs.squashfs \ console=ttyS1 rd.cos.disable net.ifnames=1 harvester.install.mode=install harvester.install.device=/dev/vda \ harvester.install.automatic=true harvester.install.powerOff=true harvester.os.password=rancher \ - harvester.scheme_version=1 harvester.install.persistentPartitionSize=150Gi" \ + harvester.scheme_version=1 harvester.install.persistentPartitionSize=150Gi harvester.install.skipchecks=true" \ -initrd ${ARTIFACTS_DIR}/${PROJECT_PREFIX}-initrd-amd64 -boot once=d tail -100 harvester-installer.log echo "compressing raw image"