mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
When destroying domains were there are multiple box volumes to be removed, need to perform a series of checks to establish that the correct volumes are being removed. - check if device aliases are in use - process the box volume removals first - detect if disks attached outside of vagrant-libvirt - prefer aliases for additional disks - avoid use of devices for multiple disks to detect as currently assigned incorrectly. - fallback to detecting number of box volumes to determine point at which additional disks start Attempts to flag a number of cases where behaviour might be incorrect to help users spot when vagrant-libvirt may accidentally remove something it shouldn't.