vagrant/plugins/providers/virtualbox
Paul Hinze c25172d0f7 providers/virtualbox: support DHCP interfaces for NFS
Previously, we required a host-only interface with a static IP for NFS
to work in VirtualBox, because we needed access to the guest's IP in
order to properly configure mount commands.

After boot, VirtualBox exposes the IP addresses of a guest's network
adapters via the "guestproperty" interface.

This adds support for reading VirtualBox guest properties to the
VirtualBox driver and utilizes that support to prepare NFS settings,
which removes the necessity for a static IP for NFS to work.

In this commit we also start building out scaffolding for unit testing
vbox actions and drivers.

Test plan:
 - Prepare a Vagrantfile with the following:
   * private network with type: :dhcp
   * synced folder with nfs: true
 - Boot a VM from this Vagrantfile using the virtualbox provider
 - Machine should boot successfully with working synced folder
2013-12-03 10:21:28 -05:00
..
action providers/virtualbox: support DHCP interfaces for NFS 2013-12-03 10:21:28 -05:00
driver providers/virtualbox: support DHCP interfaces for NFS 2013-12-03 10:21:28 -05: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: fix broken NFS check 2013-11-22 17:29:35 -08:00
config.rb providers/virtualbox: some validation around internal networks 2013-11-25 11:25:10 -08:00
plugin.rb providers/virtualbox: implement the synced folder plugin 2013-11-21 17:38:17 -08:00
provider.rb ssh-config doesn't raise exception when VB machine not created [GH-1562] 2013-04-09 08:47:52 -07:00
synced_folder.rb providers/virtualbox: output UI 2013-11-22 19:33:17 -08:00