|
|
|
@ -56,8 +56,8 @@ if [ "${IMAGEFORMAT:-}" = "ubuntu-image" ]; then
|
|
|
|
|
# we should be supporting more than one for models that
|
|
|
|
|
# define those.
|
|
|
|
|
mv output/*.img "$PREFIX".img
|
|
|
|
|
# For appliance images we also need to generate qcow2 images.
|
|
|
|
|
case "${SUBARCH:-}" in appliance-*)
|
|
|
|
|
# For amd64 appliance images we also need to generate qcow2 images.
|
|
|
|
|
case "${SUBARCH:-}" in appliance-*-amd64)
|
|
|
|
|
convert_to_qcow2 "$PREFIX".img "$PREFIX".qcow2 ;;
|
|
|
|
|
esac
|
|
|
|
|
# Now regular, compressed images.
|
|
|
|
|