mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Fail on port collisions
Partial Fix #321 by enabling option ExitOnForwardFailure=yes to detect and fail on forward port mappings failing to bind.
This commit is contained in:
@@ -97,6 +97,7 @@ module VagrantPlugins
|
|||||||
User=#{ssh_info[:username]}
|
User=#{ssh_info[:username]}
|
||||||
Port=#{ssh_info[:port]}
|
Port=#{ssh_info[:port]}
|
||||||
UserKnownHostsFile=/dev/null
|
UserKnownHostsFile=/dev/null
|
||||||
|
ExitOnForwardFailure=yes
|
||||||
StrictHostKeyChecking=no
|
StrictHostKeyChecking=no
|
||||||
PasswordAuthentication=no
|
PasswordAuthentication=no
|
||||||
ForwardX11=#{ssh_info[:forward_x11] ? 'yes' : 'no'}
|
ForwardX11=#{ssh_info[:forward_x11] ? 'yes' : 'no'}
|
||||||
|
|||||||
Reference in New Issue
Block a user