Remove the "echo hello" check because it does nothing.
This commit is contained in:
parent
d4da278f28
commit
b65cb54636
|
@ -115,12 +115,7 @@ module Vagrant
|
||||||
|
|
||||||
require 'timeout'
|
require 'timeout'
|
||||||
Timeout.timeout(env.config.ssh.timeout) do
|
Timeout.timeout(env.config.ssh.timeout) do
|
||||||
execute(:timeout => env.config.ssh.timeout, :port => ssh_port) do |ssh|
|
execute(:timeout => env.config.ssh.timeout, :port => ssh_port) { |ssh| }
|
||||||
# We run a basic command to test that the shell is up and
|
|
||||||
# ready to receive commands. Only then is our SSH connection
|
|
||||||
# truly "up"
|
|
||||||
return ssh.exec!("echo hello") == "hello\n"
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
false
|
false
|
||||||
|
|
Loading…
Reference in New Issue