destroying the network isn't enough to delete the leases

main
Jesse Andrews 13 years ago
parent 02cc96ca32
commit dca89009f5

@ -104,6 +104,8 @@ EOF
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

Loading…
Cancel
Save