communicators/ssh: remove use of nonexistent config
This commit is contained in:
parent
63d0400de7
commit
a656a99654
|
@ -192,10 +192,10 @@ module VagrantPlugins
|
||||||
Timeout::Error
|
Timeout::Error
|
||||||
]
|
]
|
||||||
|
|
||||||
retries = @machine.config.ssh.max_tries
|
retries = 5
|
||||||
timeout = @machine.config.ssh.timeout
|
timeout = 30
|
||||||
|
|
||||||
@logger.info("Attempting SSH. Retries: #{retries}. Timeout: #{timeout}")
|
@logger.info("Attempting SSH connnection...")
|
||||||
connection = retryable(:tries => retries, :on => exceptions) do
|
connection = retryable(:tries => retries, :on => exceptions) do
|
||||||
Timeout.timeout(timeout) do
|
Timeout.timeout(timeout) do
|
||||||
begin
|
begin
|
||||||
|
|
Loading…
Reference in New Issue