diff --git a/tests/scripts/vagrant_clean.sh b/tests/scripts/vagrant_clean.sh index a29b52191fe..b0488183640 100755 --- a/tests/scripts/vagrant_clean.sh +++ b/tests/scripts/vagrant_clean.sh @@ -9,4 +9,11 @@ for i in $(virsh list --name) do virsh destroy "$i" virsh undefine "$i" +done + + +# Cleanup domain volumes +for i in $(virsh vol-list default|grep \.img |grep -v VAGRANTSLASH | cut -f 2 -d ' ') +do + virsh vol-delete "$i" --pool default done \ No newline at end of file