Fix building raw image

Change-Id: Ie49b0622d8ae6b9b7189173a02f21a28c8dfca04
This commit is contained in:
Lingxian Kong 2020-06-16 10:30:17 +12:00
parent 775abab528
commit c5d78f6892
1 changed files with 0 additions and 2 deletions

View File

@ -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