summaryrefslogtreecommitdiffstats
path: root/ci/cleanvm.sh
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-11-02 04:51:23 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2016-11-02 12:55:58 -0500
commit1e29dbbb3bfb71fa4c79a67dcd07b9cddca63ac2 (patch)
tree4981fa02b62a0d9e01241b40a7d43909790c7e8c /ci/cleanvm.sh
parentcb2c19c322d2c798bfa28ad719240ef3341f4498 (diff)
modified to have better support of maas 2.0
Change-Id: Ie1298f2c2ccc04e0bb63a9303712d1a16b3f066c Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/cleanvm.sh')
-rwxr-xr-xci/cleanvm.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/ci/cleanvm.sh b/ci/cleanvm.sh
index c9acc90b..8259347c 100755
--- a/ci/cleanvm.sh
+++ b/ci/cleanvm.sh
@@ -20,4 +20,8 @@ sudo virsh undefine node2-compute || true
sudo virsh undefine node5-compute || true
sudo rm -rf /var/lib/libvirt/images/node1-control.img /var/lib/libvirt/images/node2-compute.img /var/lib/libvirt/images/node3-control.img /var/lib/libvirt/images/node4-control.img /var/lib/libvirt/images/node5-compute.img || true
+#sudo virsh destroy bootstrap || true
+#sudo virsh undefine bootstrap || true
+#sudo rm -rf /var/lib/libvirt/images/bootstrap.img || true
+
echo " Cleanup Finished ..."