Merge pull request #64 from sstrato/patch-1
only first private_network is used
This commit is contained in:
commit
93fd353135
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue