X-Git-Url: http://git.equinoxoli.org/?p=ext%2Finstance-debootstrap.git;a=blobdiff_plain;f=common.sh;h=3804c5a755c2b200d2520ceea983516e1f49f227;hp=4aa3bea09940206a2afaea54064da1ba8ab82a16;hb=d4ce14ee8f7bfbaf05195c06098e04523eef2212;hpb=d1f489c212b889b1be89672b4d2a71741a2587a9 diff --git a/common.sh b/common.sh index 4aa3bea..3804c5a 100644 --- a/common.sh +++ b/common.sh @@ -34,11 +34,11 @@ get_api5_arguments() { } get_api10_arguments() { - if [ -z "$INSTANCE" -o -z "$HYPERVISOR" -o -z "$DISK_COUNT" ]; then + if [ -z "$INSTANCE_NAME" -o -z "$HYPERVISOR" -o -z "$DISK_COUNT" ]; then echo "Missing OS API Variable" exit 1 fi - instance=$INSTANCE + instance=$INSTANCE_NAME if [ $DISK_COUNT -lt 1 -o -z "$DISK_0_PATH" ]; then echo "At least one disk is needed" exit 1