vagrant/test
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
..
acceptance Require what to be notified for with block and Subprocess.execute 2012-06-01 17:02:12 +02:00
config Add `rake acceptance:boxes` to download required boxes for tests 2011-11-13 13:37:30 -08:00
support Test Tempdir class cleans itself up 2012-06-24 00:03:28 -07:00
unit providers/virtualbox: support DHCP interfaces for NFS 2013-12-03 10:21:28 -05:00