Merge pull request #815 from dmeloni-radarservices/ssh-terminate

Use exec to avoid leaving ssh lingering around
This commit is contained in:
Gerben Meijer
2017-11-23 12:42:38 +01:00
committed by GitHub

View File

@@ -102,7 +102,7 @@ module VagrantPlugins
options += " -o ProxyCommand=\"#{ssh_info[:proxy_command]}\"" if machine.provider_config.connect_via_ssh
# TODO: instead of this, try and lock and get the stdin from spawn...
ssh_cmd = ''
ssh_cmd = 'exec '
if host_port <= 1024
@@lock.synchronize do
# TODO: add i18n