communicators/ssh: remove use of nonexistent config

This commit is contained in:
Mitchell Hashimoto 2013-09-02 09:11:39 -07:00
parent 63d0400de7
commit a656a99654
1 changed files with 3 additions and 3 deletions

View File

@ -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