Restricting reusing undercloud. It does not work 39/12339/1
authorDan Radez <dradez@redhat.com>
Fri, 15 Apr 2016 13:00:00 +0000 (09:00 -0400)
committerDan Radez <dradez@redhat.com>
Fri, 15 Apr 2016 13:01:50 +0000 (09:01 -0400)
This functionality is not being cherry-picked from master
because it will be replaced in master with a proper
redeployment functionality that is in process of being
tested.

Change-Id: I8603c94b79529620e73d32ae5014bbe8a60821ba
Signed-off-by: Dan Radez <dradez@redhat.com>
ci/deploy.sh

index 1d2655c..417031b 100755 (executable)
@@ -519,7 +519,8 @@ function setup_instack_vm {
       fi
 
   else
-      echo "Found Instack VM, using existing VM"
+      echo "\n\n${red}Found Undercloud VM, please run opnfv-clean to reset the deployment environment${reset}"
+      exit 1
   fi
 
   # if the VM is not running update the authkeys and start it