diff options
author | Narinder Gupta <narinder.gupta@canonical.com> | 2016-11-02 04:51:23 -0500 |
---|---|---|
committer | Narinder Gupta <narinder.gupta@canonical.com> | 2016-11-02 12:55:58 -0500 |
commit | 1e29dbbb3bfb71fa4c79a67dcd07b9cddca63ac2 (patch) | |
tree | 4981fa02b62a0d9e01241b40a7d43909790c7e8c /ci/cleanvm.sh | |
parent | cb2c19c322d2c798bfa28ad719240ef3341f4498 (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-x | ci/cleanvm.sh | 4 |
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 ..." |