Skip to content
Snippets Groups Projects
Unverified Commit 686316b3 authored by Maxime Guyot's avatar Maxime Guyot Committed by GitHub
Browse files

Cleanup virsh volumes in Vagrant CI (#6688)

parent 6da385de
No related branches found
No related tags found
No related merge requests found
...@@ -10,3 +10,10 @@ do ...@@ -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
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment