Roll both switches on $ARCH into one, as suggested at review.

ubuntu/zesty
Christopher Glass 8 years ago
parent f1a8538c8e
commit 5a07ff4602

@ -9,11 +9,6 @@
#
# For this step, we re-use the VMDK's made in 040-vmdk-image.binary
case $ARCH in
amd64|i386) ;;
*) echo "OVA images are not supported for $ARCH yet.";
exit 0;;
esac
# Switch on $ARCH to determine which ID and description to use in the produced
# OVF. We have fancy Ubuntu-specific IDs in the OVF specification, we might as
@ -27,6 +22,9 @@ case $ARCH in
ovf_id=93
ovf_os_type="ubuntu32Guest"
ovf_desc_bits=32 ;;
*)
echo "OVA images are not supported for $ARCH yet.";
exit 0;;
esac
cur_d=${PWD}

Loading…
Cancel
Save