From cbebbce0d57a4817d8b4df71e606b2b8c6a86733 Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Thu, 8 Nov 2018 13:34:08 +0200 Subject: [PATCH] Fix typos in VM_NAME and cleanup command (cherry picked from commit 6005f981237234c099a2b40dfca0e76fa90be69a) --- tests/cli/test_build_and_deploy_vmware.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cli/test_build_and_deploy_vmware.sh b/tests/cli/test_build_and_deploy_vmware.sh index 33932f54..29962ed3 100755 --- a/tests/cli/test_build_and_deploy_vmware.sh +++ b/tests/cli/test_build_and_deploy_vmware.sh @@ -112,7 +112,7 @@ __EOF__ rlPhaseEnd rlPhaseStartTest "Start VM instance" - VM_NAME="Composer-Auto-VM-$UUID774" + VM_NAME="Composer-Auto-VM-$UUID" INSTANCE_UUID=`python3 $SAMPLES/create_vm.py -S -s $V_HOST -u $V_USERNAME -p $V_PASSWORD \ --datacenter $V_DATACENTER -c $V_CLUSTER -f $V_FOLDER -d $V_DATASTORE \ --portgroup $V_NETWORK -v $IMAGE -m 2048 -g rhel7_64Guest -n $VM_NAME \ @@ -149,7 +149,7 @@ __EOF__ python3 $SAMPLES/destroy_vm.py -S -s $V_HOST -u $V_USERNAME -p $V_PASSWORD --uuid $INSTANCE_UUID rlAssert0 "VM destroyed" $? rlRun -t -c "$CLI compose delete $UUID" - rlRun -t -c "rm -rf $AMI $TMP_DIR" + rlRun -t -c "rm -rf $IMAGE $TMP_DIR" rlPhaseEnd rlJournalEnd