mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
This ensures that a network is always appended to the created_networks file, to avoid the case where a domain that created the network gets destroyed first during cleanup, therefore skipping the network destroy because some other domain is still using it. Since the second domain did not create the network, the existing behaviour is that it gets left behind. Seting :libvirt__always_destroy to true will ensure that the domain will destroy the network even if it did not create it, if there are no other users of the network remaining.