mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Fix port forwarding ssh process cleanup
The presence of quotes in the command to spawn caused ruby to run it via a shell instead of running it directly. This broke our code for killing the ssh processes when the VM is halted. Closes #265
This commit is contained in:
parent
9e0f0de35e
commit
803719d3f6
@ -83,7 +83,8 @@ module VagrantPlugins
|
||||
gateway_ports)
|
||||
ssh_info = machine.ssh_info
|
||||
params = %W(
|
||||
"-L #{host_ip}:#{host_port}:#{guest_ip}:#{guest_port}"
|
||||
-L
|
||||
#{host_ip}:#{host_port}:#{guest_ip}:#{guest_port}
|
||||
-N
|
||||
#{ssh_info[:host]}
|
||||
).join(' ')
|
||||
|
Loading…
Reference in New Issue
Block a user