vagrant/plugins/providers/virtualbox
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
..
action providers/virtualbox: cleanup default vbox dhcp server 2014-11-30 22:03:52 -06:00
driver providers/virtualbox: cleanup default vbox dhcp server 2014-11-30 22:03:52 -06:00
model Forwarded ports don't auto-correct by default [GH-1701] 2013-07-20 00:15:11 -04:00
util core: set `disabled: true` for disabling forwarded port [GH-1922] 2013-08-29 12:25:53 -07:00
action.rb providers/virtualbox: define a sync_folders action to setup NFS 2014-10-22 09:26:38 -07:00
cap.rb guests/windows: configure networks 2014-04-21 13:51:09 -07:00
config.rb providers/virtualbox: merge customizations properly 2014-04-21 13:56:32 -07:00
plugin.rb providers/virtualbox: higher priority than default 2014-05-05 21:13:56 -07:00
provider.rb Change symbols inside hashes to 1.9 JSON-like syntax 2014-05-22 12:35:12 -04:00
synced_folder.rb Change symbols inside hashes to 1.9 JSON-like syntax 2014-05-22 12:35:12 -04:00