From 9821dad275aafc6115d10e2dbfdb6e366469a5c9 Mon Sep 17 00:00:00 2001 From: Da Li Liu Date: Wed, 6 Dec 2023 20:11:01 +0800 Subject: [PATCH] podvm: fix podvm packaer image build - install qemu plugin after packer 1.10.0-1 fixes https://github.com/confidential-containers/cloud-api-adaptor/issues/1616 Signed-off-by: Da Li Liu --- podvm/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/podvm/Makefile b/podvm/Makefile index 40c40e66b9..823effa15c 100644 --- a/podvm/Makefile +++ b/podvm/Makefile @@ -77,6 +77,7 @@ $(IMAGE_FILE): $(BINARIES) $(FILES) setopts if [ "${SE_BOOT}" = "1" ] && [ "${ARCH}" = "s390x" ]; then \ qemu-img create -f qcow2 "se-${IMAGE_FILE}" 100G; \ fi + packer plugins install github.com/hashicorp/qemu packer build ${PACKER_DEFAULT_OPTS} ${OPTS} qcow2/$(PODVM_DISTRO) rm -fr toupload rm -f cloud-init.img