summaryrefslogtreecommitdiffstats
path: root/ci/cleanvm.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/cleanvm.sh')
-rwxr-xr-xci/cleanvm.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/cleanvm.sh b/ci/cleanvm.sh
index f7f062a6..73c61c4b 100755
--- a/ci/cleanvm.sh
+++ b/ci/cleanvm.sh
@@ -20,12 +20,12 @@ sudo virsh undefine node3-control || true
sudo virsh undefine node4-control || true
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 rm -rf /var/lib/libvirt/images/node1-control.qcow2 /var/lib/libvirt/images/node2-compute.qcow2 /var/lib/libvirt/images/node3-control.qcow2 /var/lib/libvirt/images/node4-control.qcow2 /var/lib/libvirt/images/node5-compute.qcow2 || true
if [[ "$maasver" > "2" ]]; then
sudo virsh destroy bootstrap || true
sudo virsh undefine bootstrap || true
- sudo rm -rf /var/lib/libvirt/images/bootstrap.img || true
+ sudo rm -rf /var/lib/libvirt/images/bootstrap.qcow2 || true
fi
echo " Cleanup Finished ..."