communicators/ssh: call ready? when waiting

This lets things like the SSH key go in
This commit is contained in:
Mitchell Hashimoto 2014-02-26 11:35:41 -08:00
parent 1061e9335c
commit c877fc27a7
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ module VagrantPlugins
begin begin
begin begin
connect(retries: 1) connect(retries: 1)
return true return true if ready?
rescue Vagrant::Errors::VagrantError => e rescue Vagrant::Errors::VagrantError => e
@logger.info("SSH not ready: #{e.inspect}") @logger.info("SSH not ready: #{e.inspect}")
raise raise