From 8c338143979f4f27a080889a89d97b557e28fbde Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 18 Feb 2013 16:43:33 -0800 Subject: [PATCH] Retry SSH on EADDRINUSE --- plugins/communicators/ssh/communicator.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/communicators/ssh/communicator.rb b/plugins/communicators/ssh/communicator.rb index e4f87a643..2a7f93138 100644 --- a/plugins/communicators/ssh/communicator.rb +++ b/plugins/communicators/ssh/communicator.rb @@ -165,6 +165,7 @@ module VagrantPlugins # errors that are generally fixed from a retry and don't # necessarily represent immediate failure cases. exceptions = [ + Errno::EADDRINUSE, Errno::ECONNREFUSED, Errno::ECONNRESET, Errno::EHOSTUNREACH,