diff options
Diffstat (limited to 'ci/cleanvm.sh')
-rwxr-xr-x | ci/cleanvm.sh | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ci/cleanvm.sh b/ci/cleanvm.sh index 5277bf40..b9bf370e 100755 --- a/ci/cleanvm.sh +++ b/ci/cleanvm.sh @@ -8,20 +8,16 @@ set -ex echo " Cleanup Started ..." ./clean.sh -sudo virsh destroy opnfv-maas || true -sudo virsh destroy bootstrap || true sudo virsh destroy node1-control || true sudo virsh destroy node3-control || true sudo virsh destroy node4-control || true sudo virsh destroy node2-compute || true sudo virsh destroy node5-compute || true -sudo virsh undefine opnfv-maas || true -sudo virsh undefine bootstrap || true sudo virsh undefine node1-control || true 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/opnfv-maas.img /var/lib/libvirt/images/bootstrap.img /var/lib/libvirt/images/node1-control.img /var/lib/libvirt/images/node3-control.img /var/lib/libvirt/images/node4-control.img /var/lib/libvirt/images/node2-compute.img /var/lib/libvirt/images/node5-compute.img || 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 echo " Cleanup Finished ..." |