vagrant/test/unit
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
..
plugins providers/virtualbox: cleanup default vbox dhcp server 2014-11-30 22:03:52 -06:00
support core: only delete state if not created on initialize only 2014-11-10 16:29:19 -08:00
vagrant core: only delete state if not created on initialize only 2014-11-10 16:29:19 -08:00
base.rb Remove useless expect_with. 2014-11-04 10:01:32 +01:00
vagrant_test.rb core: Vagrant.has_plugin? can take version requirements [GH-4650] 2014-10-23 10:52:02 -07:00