kernel/v2: Reimplement 8655d21
to always forward SSH
Fixes #7202 Always forwards SSH even if WinRM is set
This commit is contained in:
parent
f19e33524d
commit
3bff55034a
|
@ -425,7 +425,9 @@ module VagrantPlugins
|
|||
id: "winrm-ssl",
|
||||
auto_correct: true
|
||||
end
|
||||
elsif !@__networks["forwarded_port-ssh"]
|
||||
end
|
||||
# forward SSH ports regardless of communicator
|
||||
if !@__networks["forwarded_port-ssh"]
|
||||
network :forwarded_port,
|
||||
guest: 22,
|
||||
host: 2222,
|
||||
|
|
Loading…
Reference in New Issue