Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 17 lines (12 sloc) 314 Bytes
echo "Clean up in progress !"
echo "Shutting down all vm !"
for x in `virsh list | awk '{print $2}' `; do
virsh destroy $x 2>/dev/null;
echo "Now removing them !"
for x in `virsh list --all | awk '{print $2}' `; do
virsh undefine $x 2>/dev/null;
echo "Removing old files"
rm -rf cloud/*
You can’t perform that action at this time.