commit | dca89009f5f5468f13158eec3b080ecb0bb5545f | [log] [tgz] |
---|---|---|
author | Jesse Andrews <anotherjesse@gmail.com> | Sun Nov 06 10:33:33 2011 -0800 |
committer | Jesse Andrews <anotherjesse@gmail.com> | Sun Nov 06 10:33:33 2011 -0800 |
tree | 3dcfb40c3e42d8a756f1cae4bcd4cd708febd316 | |
parent | 02cc96ca32ded5a7985570d99ee8eb44a95d7340 [diff] [blame] |
destroying the network isn't enough to delete the leases
diff --git a/tools/build_uec.sh b/tools/build_uec.sh index a0997e0..3ee1e2f 100755 --- a/tools/build_uec.sh +++ b/tools/build_uec.sh
@@ -104,6 +104,8 @@ if [[ "$GUEST_RECREATE_NET" == "yes" ]]; then virsh net-destroy devstack-$GUEST_NETWORK || true + # destroying the network isn't enough to delete the leases + rm -f /var/lib/libvirt/dnsmasq/devstack-$GUEST_NETWORK.leases virsh net-create $vm_dir/net.xml fi