vagrant/plugins/providers/virtualbox
David O'Rourke ed708645b2 prepare_nfs_settings: Try harder to get all machine IPs.
Vagrant was not behaving correctly in configurations where there was
a static IP on a VirtualBox `intnet` interface and a DHCP `:hostonly`
interface configured.

Since `machine_ip` attempted to get static addresses `||` dynamic
addresses, it would simply use the static machine address and
continue.

This commit corrects this behaviour by collecting all static and
dynamic addresses into the `machine_ip` array instead of just one or
the other.

The result of this is a correctly generated `/etc/exports` on the
host machine, allowing NFS mounts to work correctly in this type of
environment.
2016-05-05 14:41:03 +01:00
..
action prepare_nfs_settings: Try harder to get all machine IPs. 2016-05-05 14:41:03 +01:00
cap Add public_address cap for VirtualBox 2015-11-23 16:23:22 -05:00
driver Check both stderr and stdout 2016-03-17 10:52:10 -04:00
model Use .key? instead of .has_key? 2015-01-05 18:29:01 -05:00
util core: set `disabled: true` for disabling forwarded port [GH-1922] 2013-08-29 12:25:53 -07:00
action.rb Run provisioner cleanup tasks before destroying the VM 2015-11-19 11:14:31 -08:00
cap.rb Return nil if the VM is not running when looking at forwarded ports 2015-11-24 16:33:09 -05:00
config.rb providers/virtualbox: ability to customize linked clone snapshot 2015-10-08 11:58:47 -04:00
plugin.rb Add public_address cap for VirtualBox 2015-11-23 16:23:22 -05:00
provider.rb Revert "#5186: Warning: Authentication failure. Retrying... after packaging box" 2015-11-18 16:35:35 -08:00
synced_folder.rb Change symbols inside hashes to 1.9 JSON-like syntax 2014-05-22 12:35:12 -04:00