From e9f8e4dc9113a4cc597fbe069e524bb368951a94 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 10 Dec 2011 20:23:52 -0800 Subject: [PATCH] Revert 8bb6d375 since it actually didn't help at all. --- lib/vagrant/ssh.rb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/vagrant/ssh.rb b/lib/vagrant/ssh.rb index bb4e31da6..fea33ad5d 100644 --- a/lib/vagrant/ssh.rb +++ b/lib/vagrant/ssh.rb @@ -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