Code Review
/
joid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
change the charm version to latest for rados-gw as well.
[joid.git]
/
ci
/
cleanvm.sh
diff --git
a/ci/cleanvm.sh
b/ci/cleanvm.sh
index
5419025
..
0fa6b86
100755
(executable)
--- a/
ci/cleanvm.sh
+++ b/
ci/cleanvm.sh
@@
-2,11
+2,9
@@
set -x
set -x
-echo " Cleanup Started ..."
+source common/tools.sh
-#use the below commands if you needs to delete the virtual machine
-# also along with envuronment destroy.
-./clean.sh
+echo_info "Cleanup Started..."
vm_list=$(sudo virsh list --all)
vm_list=$(sudo virsh list --all)
@@
-20,4
+18,4
@@
do
sudo rm -f /var/lib/libvirt/images/${vm}.qcow2
done
sudo rm -f /var/lib/libvirt/images/${vm}.qcow2
done
-echo
" Cleanup Finished ...
"
+echo
_info "Cleanup Finished!
"