diff options
author | Tim Rozet <trozet@redhat.com> | 2016-02-04 00:48:51 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-02-04 00:48:51 +0000 |
commit | 1f5d6b79ba6c0160a970dc91e29d898c32387fc9 (patch) | |
tree | bf4bf67328639abb2086bb310236360f700ef46a | |
parent | 797f3f30913c8d2c3fb1e147a3b51140a1e8acce (diff) | |
parent | e8a74a21aa0e477bdb9293bf37d546412d8427d1 (diff) |
Merge "Touch baremetal images before vol-delete"
-rwxr-xr-x | ci/clean.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ci/clean.sh b/ci/clean.sh index 8b0c9bbc..f05b9136 100755 --- a/ci/clean.sh +++ b/ci/clean.sh @@ -34,6 +34,7 @@ rm -f /var/lib/libvirt/images/instack.qcow2 2> /dev/null for i in $(seq 0 $vm_index); do virsh destroy baremetalbrbm_brbm1_brbm2_brbm3_$i 2> /dev/null || echo -n '' virsh undefine baremetalbrbm_brbm1_brbm2_brbm3_$i --remove-all-storage 2> /dev/null || echo -n '' + /usr/bin/touch /var/lib/libvirt/images/baremetalbrbm_brbm1_brbm2_brbm3_${i}.qcow2 virsh vol-delete baremetalbrbm_brbm1_brbm2_brbm3_${i}.qcow2 --pool default 2> /dev/null rm -f /var/lib/libvirt/images/baremetalbrbm_brbm1_brbm2_brbm3_${i}.qcow2 2> /dev/null done |