From c877fc27a7ae97f9ffe72c49b1746cd19cf59ce6 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 26 Feb 2014 11:35:41 -0800 Subject: [PATCH] communicators/ssh: call ready? when waiting This lets things like the SSH key go in --- plugins/communicators/ssh/communicator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/communicators/ssh/communicator.rb b/plugins/communicators/ssh/communicator.rb index c292b8542..e4d340009 100644 --- a/plugins/communicators/ssh/communicator.rb +++ b/plugins/communicators/ssh/communicator.rb @@ -57,7 +57,7 @@ module VagrantPlugins begin begin connect(retries: 1) - return true + return true if ready? rescue Vagrant::Errors::VagrantError => e @logger.info("SSH not ready: #{e.inspect}") raise