vagrant/plugins/providers/virtualbox/action
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
..
boot.rb core: WaitForCommunicator - more robust wait for boot 2013-08-29 16:27:00 -07:00
check_accessible.rb Convert all VirtualBox provider internals to use new state API 2013-01-21 11:38:37 -06:00
check_created.rb Convert all VirtualBox provider internals to use new state API 2013-01-21 11:38:37 -06:00
check_guest_additions.rb Line up equal signs because I'm anal about it 2013-02-27 19:12:45 -08:00
check_running.rb Convert all VirtualBox provider internals to use new state API 2013-01-21 11:38:37 -06:00
check_virtualbox.rb Building up the `destroy` action again using new provider API. 2012-07-26 22:39:27 -07:00
clean_machine_folder.rb `vagrant destroy` fully works 2012-08-13 23:31:12 -07:00
clear_forwarded_ports.rb `vagrant reload` now works with the new machine abstraction 2012-08-14 21:12:41 -07:00
clear_network_interfaces.rb providers/virtualbox: 4.2 max network adapters to 36 [GH-1886] 2013-08-29 16:50:20 -07:00
clear_shared_folders.rb `vagrant reload` now works with the new machine abstraction 2012-08-14 21:12:41 -07:00
created.rb Convert all VirtualBox provider internals to use new state API 2013-01-21 11:38:37 -06:00
customize.rb providers/virtualbox: nitpick on style 2013-11-23 16:16:45 -08:00
destroy.rb `vagrant destroy` fully works 2012-08-13 23:31:12 -07:00
destroy_unused_network_interfaces.rb Update CHANGELOG 2013-09-15 16:39:54 -07:00
discard_state.rb Convert all VirtualBox provider internals to use new state API 2013-01-21 11:38:37 -06:00
export.rb Convert all VirtualBox provider internals to use new state API 2013-01-21 11:38:37 -06:00
forced_halt.rb Use the new GracefulHalt built-in for VirtualBox 2013-01-22 12:07:37 -08:00
forward_ports.rb pass guest_ip option from config to driver [GH-1121] 2013-07-18 15:03:13 +09:00
import.rb commands/up: flag --no-destroy-on-error [GH-2011] 2013-08-29 12:13:02 -07:00
is_paused.rb Properly handle paused VirtualBox VMs [GH-1184] 2013-01-30 22:47:45 -08:00
is_running.rb Convert all VirtualBox provider internals to use new state API 2013-01-21 11:38:37 -06:00
is_saved.rb Convert all VirtualBox provider internals to use new state API 2013-01-21 11:38:37 -06:00
match_mac_address.rb `vagrant up`! 2012-08-14 22:38:41 -07:00
message_already_running.rb Message on `up` that VM is already running [GH-1558] 2013-04-08 09:09:23 -07:00
message_not_created.rb Start moving the halt commands over to the new provider interface 2012-07-28 10:43:16 -07:00
message_not_running.rb `vagrant provision` 2012-08-14 21:21:31 -07:00
message_will_not_destroy.rb Clean up the actions a bit, move logic into actual middleware. 2012-07-28 19:58:10 -07:00
network.rb providers/virtualbox: internal networks [GH-2020] 2013-11-25 11:13:46 -08:00
package.rb `vagrant package` a single VM works! 2012-08-15 21:04:37 -07:00
package_vagrantfile.rb `vagrant package` a single VM works! 2012-08-15 21:04:37 -07:00
prepare_forwarded_port_collision_params.rb Properly handle forward port collision detection with auto-correct 2013-03-21 16:33:06 -07:00
prepare_nfs_settings.rb providers/virtualbox: support DHCP interfaces for NFS 2013-12-03 10:21:28 -05:00
prune_nfs_exports.rb Detect if a VM name is already taken for VirtualBox 2013-01-30 23:22:45 -08:00
resume.rb Properly handle paused VirtualBox VMs [GH-1184] 2013-01-30 22:47:45 -08:00
sane_defaults.rb providers/virtualbox: nitpick on style 2013-11-23 16:16:45 -08:00
set_name.rb use a safer default name for virtualbox 2013-11-09 15:54:46 -05:00
setup_package_files.rb `vagrant package` a single VM works! 2012-08-15 21:04:37 -07:00
suspend.rb Convert all VirtualBox provider internals to use new state API 2013-01-21 11:38:37 -06:00