Code Review
/
joid.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
5ef7eac
)
clean the vm which is defined as per the labconfig.yaml
71/35371/2
author
narindergupta
<narinder.gupta@canonical.com>
Thu, 25 May 2017 16:12:34 +0000
(09:12 -0700)
committer
narindergupta
<narinder.gupta@canonical.com>
Thu, 25 May 2017 16:37:28 +0000
(09:37 -0700)
Change-Id: If659da0a454f05f3ed7c1e212fd7e61230741343
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/cleanvm.sh
patch
|
blob
|
history
diff --git
a/ci/cleanvm.sh
b/ci/cleanvm.sh
index
3756c40
..
5a5365b
100755
(executable)
--- 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