Merge pull request #8706 from lookfwd/fix_bug_8705
Fixing vagrant ssh issue 8705 - vagrant ssh with docker provider failing
This commit is contained in:
commit
3e051ee185
|
@ -144,7 +144,7 @@ module VagrantPlugins
|
||||||
if network["Ports"][port_name].respond_to?(:first)
|
if network["Ports"][port_name].respond_to?(:first)
|
||||||
port_info = network["Ports"][port_name].first
|
port_info = network["Ports"][port_name].first
|
||||||
else
|
else
|
||||||
ip = network["IpAddress"]
|
ip = network["IPAddress"]
|
||||||
port = @machine.config.ssh.guest_port
|
port = @machine.config.ssh.guest_port
|
||||||
if !ip.to_s.empty?
|
if !ip.to_s.empty?
|
||||||
port_info = {
|
port_info = {
|
||||||
|
|
Loading…
Reference in New Issue