summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
Diffstat (limited to 'ci')
-rwxr-xr-xci/clean.sh2
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