Remove the "echo hello" check because it does nothing.

This commit is contained in:
Mitchell Hashimoto 2011-12-10 20:42:34 -08:00
parent d4da278f28
commit b65cb54636
1 changed files with 1 additions and 6 deletions

View File

@ -115,12 +115,7 @@ module Vagrant
require 'timeout'
Timeout.timeout(env.config.ssh.timeout) do
execute(:timeout => env.config.ssh.timeout, :port => ssh_port) do |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
execute(:timeout => env.config.ssh.timeout, :port => ssh_port) { |ssh| }
end
false