Revert 8bb6d375 since it actually didn't help at all.

This commit is contained in:
Mitchell Hashimoto 2011-12-10 20:23:52 -08:00
parent 5762775998
commit e9f8e4dc91
1 changed files with 1 additions and 6 deletions

View File

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