Cleanup virsh volumes in Vagrant CI (#6688)
parent
6da385de9d
commit
686316b390
|
@ -10,3 +10,10 @@ do
|
||||||
virsh destroy "$i"
|
virsh destroy "$i"
|
||||||
virsh undefine "$i"
|
virsh undefine "$i"
|
||||||
done
|
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
|
Loading…
Reference in New Issue