Add VHD support in DIB
Some deployers may require use of VHD format, allow this option. Change-Id: I0e2599898598fd6636f116357598a12f19b8f99f
This commit is contained in:
parent
a011b405a7
commit
7edd2aee67
@ -28,7 +28,7 @@ usage() {
|
||||
echo " [-o **amphora-x64-haproxy** | <filename> ]"
|
||||
echo " [-r <root password> ]"
|
||||
echo " [-s **5** | <size in GB> ]"
|
||||
echo " [-t **qcow2** | tar ]"
|
||||
echo " [-t **qcow2** | tar | vhd ]"
|
||||
echo " [-v]"
|
||||
echo " [-w <working directory> ]"
|
||||
echo
|
||||
@ -99,7 +99,8 @@ while getopts "a:b:c:hi:o:t:r:s:vw:" opt; do
|
||||
t)
|
||||
AMP_IMAGETYPE=$OPTARG
|
||||
if [ $AMP_IMAGETYPE != "qcow2" ] && \
|
||||
[ $AMP_IMAGETYPE != "tar" ]; then
|
||||
[ $AMP_IMAGETYPE != "tar" ] && \
|
||||
[ $AMP_IMAGETYPE != "vhd" ]; then
|
||||
echo "Error: Unsupported image type " $AMP_IMAGETYPE " specified"
|
||||
exit 3
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user