vagrant/test/unit/plugins/providers/virtualbox/action
Paul Hinze 25ff636ee2 providers/virtualbox: cleanup default vbox dhcp server
fixes #3083

Detect the presence of the default DHCP server that comes in a fresh
VirtualBox install and clean it up to prevent it from colliding with
Vagrant-managed network config.

In order to accomplish this, we:

 - add a `remove_dhcp_server` call to the virtualbox driver
 - fix dhcp options parsing to allow `:dhcp_{ip,lower,upper}`
   configuration options to make it through (so a user can override the
   removal behavior with some explicit configuration)
 - add the full `:network_name` to the details returned from
   `:read_dhcp_servers`, so we can have a durable value to pass to
   `:remove_dhcp_server`

Note that we do have to eat one more `VBoxManage list dhcpservers` for
each network interface to support this, but this seemed like a nominal
cost
2014-11-30 22:03:52 -06:00
..
network_test.rb providers/virtualbox: cleanup default vbox dhcp server 2014-11-30 22:03:52 -06:00
prepare_nfs_settings_test.rb providers/virtualbox: fix flaky test when rsync is not installed 2014-11-30 22:03:27 -06:00
prepare_nfs_valid_ids_test.rb Convert specs to RSpec 2.14.8 syntax with Transpec 2014-03-14 12:02:07 -03:00