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