clean the vm which is defined as per the labconfig.yaml 73/35373/2
authornarindergupta <narinder.gupta@canonical.com>
Thu, 25 May 2017 16:12:34 +0000 (09:12 -0700)
committerNarinder Gupta <narinder.gupta@canonical.com>
Thu, 25 May 2017 16:38:14 +0000 (16:38 +0000)
Change-Id: If659da0a454f05f3ed7c1e212fd7e61230741343
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/cleanvm.sh

index 3756c40..5a5365b 100755 (executable)
@@ -11,7 +11,8 @@ echo " Cleanup Started ..."
 vm_list=$(sudo virsh list --all)
 
 for vm in node1-control node2-compute node3-control node4-control \
-          node5-compute bootstrap
+          node5-compute rack-vir-m1 rack-vir-m2 rack-vir-m3 rack-vir-m4 \
+          rack-vir-m1 bootstrap
 do
     echo "$vm_list" | grep -q " $vm " || continue
     sudo virsh destroy $vm