Return true on ssh up?
This commit is contained in:
parent
c4eeda2025
commit
00c40f82b1
|
@ -118,7 +118,7 @@ module Vagrant
|
||||||
execute(:timeout => env.config.ssh.timeout, :port => ssh_port) { |ssh| }
|
execute(:timeout => env.config.ssh.timeout, :port => ssh_port) { |ssh| }
|
||||||
end
|
end
|
||||||
|
|
||||||
false
|
true
|
||||||
rescue Net::SSH::AuthenticationFailed
|
rescue Net::SSH::AuthenticationFailed
|
||||||
raise Errors::SSHAuthenticationFailed
|
raise Errors::SSHAuthenticationFailed
|
||||||
rescue Timeout::Error, Errno::ECONNREFUSED, Net::SSH::Disconnect,
|
rescue Timeout::Error, Errno::ECONNREFUSED, Net::SSH::Disconnect,
|
||||||
|
|
Loading…
Reference in New Issue