Commit c37b85a4 authored by Dan Radez's avatar Dan Radez

adding variable fix for clean up

Change-Id: I4e18bc0ddfb39a11c75070012743e6a68ecb70f6
parent 02f299a5
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment