Merge pull request #3807 from mitchellh/fix-docker-ssh-wo-host-vm

providers/docker: Fix SSH access to container when no Host VM is in use
This commit is contained in:
Mitchell Hashimoto 2014-05-20 20:32:21 -07:00
commit 4e7a25f6de
1 changed files with 4 additions and 1 deletions

View File

@ -136,7 +136,10 @@ module VagrantPlugins
# here and we let Vagrant core deal with it ;)
return nil if !ip
{ host: ip }
{
host: ip,
port: @machine.config.ssh.guest_port
}
end
def state