diff options
author | Tim Rozet <trozet@redhat.com> | 2016-02-04 15:25:12 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-02-04 15:25:12 +0000 |
commit | 1c448e3d0694db04fc1ddda32883d66a8ede0042 (patch) | |
tree | ed01454af604c0dcace824110a04983982c68046 /ci/clean.sh | |
parent | 410fbd645cd5f257734813694b4d0170572013c9 (diff) | |
parent | 1a2a9580cbd5dccdc11399d2cae47d02217be860 (diff) |
Merge "Touch baremetal images before vol-delete" into stable/brahmaputra
Diffstat (limited to 'ci/clean.sh')
-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 |