From b037a8d89c55b56c3d4a0b3c649cbd1f5716fb09 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 31 Jan 2013 20:04:57 -0800 Subject: [PATCH] Retry SSH on connection reset --- 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 f91aa55e8..846f32764 100644 --- a/plugins/communicators/ssh/communicator.rb +++ b/plugins/communicators/ssh/communicator.rb @@ -157,6 +157,7 @@ module VagrantPlugins # necessarily represent immediate failure cases. exceptions = [ Errno::ECONNREFUSED, + Errno::ECONNRESET, Errno::EHOSTUNREACH, Net::SSH::Disconnect, Timeout::Error