Merge pull request #64 from sstrato/patch-1

only first private_network is used
This commit is contained in:
Paulo Bittencourt 2014-02-20 20:44:34 -05:00
commit 93fd353135
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ module VagrantPlugins
machine.config.vm.networks.each do |network|
key, options = network[0], network[1]
ip = options[:ip] if key == :private_network
next if ip
break if ip
end
end
ip || (machine.ssh_info ? machine.ssh_info[:host] : nil)