diff options
author | Dan Radez <dradez@redhat.com> | 2015-11-09 14:18:38 -0500 |
---|---|---|
committer | Dan Radez <dradez@redhat.com> | 2015-11-09 14:18:38 -0500 |
commit | c37b85a4d356212402277741a3cec793ccf47e68 (patch) | |
tree | d2dbace2cb593c485d70aba773c2aeb927ff4d82 /ci | |
parent | 02f299a5ffb749822234faf34ea5eddc1374724d (diff) |
adding variable fix for clean up
Change-Id: I4e18bc0ddfb39a11c75070012743e6a68ecb70f6
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/clean.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/clean.sh b/ci/clean.sh index 7fad2ef1..acae615d 100755 --- a/ci/clean.sh +++ b/ci/clean.sh @@ -10,7 +10,7 @@ virsh destroy instack 2> /dev/null || echo -n '' virsh undefine instack --remove-all-storage 2> /dev/null || echo -n '' rm -f /var/lib/libvirt/images/instack.qcow2 2> /dev/null -for i in $(seq 0 vm_index); do +for i in $(seq 0 $vm_index); do virsh destroy baremetalbrbm_$i 2> /dev/null || echo -n '' virsh undefine baremetalbrbm_$i --remove-all-storage 2> /dev/null || echo -n '' rm -f /var/lib/libvirt/images/baremetalbrbm_${i}.qcow2 2> /dev/null |