Add winrmssl port forward (port 5986)

This commit is contained in:
Peter Ericson 2014-06-03 14:03:29 +10:00 committed by Max Lincoln
parent 4455d2401b
commit 2f52a9c15c
1 changed files with 9 additions and 3 deletions

View File

@ -400,9 +400,15 @@ module VagrantPlugins
id: "winrm", id: "winrm",
auto_correct: true auto_correct: true
end end
end if !@__networks["forwarded_port-winrmssl"]
network :forwarded_port,
if !@__networks["forwarded_port-ssh"] guest: 5986,
host: 55986,
host_ip: "127.0.0.1",
id: "winrmssl",
auto_correct: true
end
elsif !@__networks["forwarded_port-ssh"]
network :forwarded_port, network :forwarded_port,
guest: 22, guest: 22,
host: 2222, host: 2222,