From: narindergupta Date: Thu, 25 May 2017 16:12:34 +0000 (-0700) Subject: clean the vm which is defined as per the labconfig.yaml X-Git-Tag: opnfv-5.0.RC1~115 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F71%2F35371%2F2;p=joid.git clean the vm which is defined as per the labconfig.yaml Change-Id: If659da0a454f05f3ed7c1e212fd7e61230741343 Signed-off-by: Narinder Gupta --- diff --git a/ci/cleanvm.sh b/ci/cleanvm.sh index 3756c406..5a5365b2 100755 --- a/ci/cleanvm.sh +++ b/ci/cleanvm.sh @@ -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