mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Merge pull request #206 from bvanheu/bugfix/portforwarding_proxycommand
Fixed port forwarding when using remote libvirt (use a ProxyCommand)
This commit is contained in:
commit
f1648e4c88
@ -97,6 +97,8 @@ module VagrantPlugins
|
||||
"IdentityFile=#{pk}"
|
||||
end).map { |s| s.prepend('-o ') }.join(' ')
|
||||
|
||||
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 = ''
|
||||
if host_port <= 1024
|
||||
|
Loading…
Reference in New Issue
Block a user