communicators/ssh: call ready? when waiting
This lets things like the SSH key go in
This commit is contained in:
parent
1061e9335c
commit
c877fc27a7
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue