From c5d78f68925b0f73e85c39308439eec0f20aad9f Mon Sep 17 00:00:00 2001 From: Lingxian Kong Date: Tue, 16 Jun 2020 10:30:17 +1200 Subject: Fix building raw image Change-Id: Ie49b0622d8ae6b9b7189173a02f21a28c8dfca04 --- integration/scripts/functions_qemu | 2 -- 1 file changed, 2 deletions(-) diff --git a/integration/scripts/functions_qemu b/integration/scripts/functions_qemu index ccc4e795..c7fc704f 100644 --- a/integration/scripts/functions_qemu +++ b/integration/scripts/functions_qemu @@ -18,7 +18,6 @@ function build_vm() { local elementes="base vm" local trove_elements_path=${PATH_TROVE}/integration/scripts/files/elements - local GUEST_IMAGETYPE=${GUEST_IMAGETYPE:-"qcow2"} local GUEST_IMAGESIZE=${GUEST_IMAGESIZE:-4} local GUEST_CACHEDIR=${GUEST_CACHEDIR:-"$HOME/.cache/image-create"} @@ -81,7 +80,6 @@ function build_vm() { -a amd64 \ -o ${image_output} \ -t ${image_type} \ - -t ${GUEST_IMAGETYPE} \ --image-size ${GUEST_IMAGESIZE} \ --image-cache ${GUEST_CACHEDIR} \ $elementes -- cgit v1.2.1