Fix building raw image
Change-Id: Ie49b0622d8ae6b9b7189173a02f21a28c8dfca04
This commit is contained in:
parent
775abab528
commit
c5d78f6892
|
@ -18,7 +18,6 @@ function build_vm() {
|
||||||
|
|
||||||
local elementes="base vm"
|
local elementes="base vm"
|
||||||
local trove_elements_path=${PATH_TROVE}/integration/scripts/files/elements
|
local trove_elements_path=${PATH_TROVE}/integration/scripts/files/elements
|
||||||
local GUEST_IMAGETYPE=${GUEST_IMAGETYPE:-"qcow2"}
|
|
||||||
local GUEST_IMAGESIZE=${GUEST_IMAGESIZE:-4}
|
local GUEST_IMAGESIZE=${GUEST_IMAGESIZE:-4}
|
||||||
local GUEST_CACHEDIR=${GUEST_CACHEDIR:-"$HOME/.cache/image-create"}
|
local GUEST_CACHEDIR=${GUEST_CACHEDIR:-"$HOME/.cache/image-create"}
|
||||||
|
|
||||||
|
@ -81,7 +80,6 @@ function build_vm() {
|
||||||
-a amd64 \
|
-a amd64 \
|
||||||
-o ${image_output} \
|
-o ${image_output} \
|
||||||
-t ${image_type} \
|
-t ${image_type} \
|
||||||
-t ${GUEST_IMAGETYPE} \
|
|
||||||
--image-size ${GUEST_IMAGESIZE} \
|
--image-size ${GUEST_IMAGESIZE} \
|
||||||
--image-cache ${GUEST_CACHEDIR} \
|
--image-cache ${GUEST_CACHEDIR} \
|
||||||
$elementes
|
$elementes
|
||||||
|
|
Loading…
Reference in New Issue