mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Use exec to avoid leaving ssh lingering around
This commit is contained in:
parent
c8a2ed8f34
commit
2b37f931b5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user