From 0b27fa2678de70fb8ba5584e9a08ff9b98cae028 Mon Sep 17 00:00:00 2001
From: Mu Administrator <akhosravian@flatworldknowledge.com>
Date: Fri, 2 Oct 2020 05:38:08 +0000
Subject: [PATCH] catch an extremely rare IOError on ssh sessions

---
 modules/mu/cloud/ssh_sessions.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/mu/cloud/ssh_sessions.rb b/modules/mu/cloud/ssh_sessions.rb
index 06893ed97..fad13b78f 100644
--- a/modules/mu/cloud/ssh_sessions.rb
+++ b/modules/mu/cloud/ssh_sessions.rb
@@ -125,7 +125,7 @@ def initialSSHTasks(ssh)
                 end
               end
             end
-          rescue RuntimeError => e
+          rescue RuntimeError, IOError => e
             raise MU::Cloud::BootstrapTempFail, "Got #{e.inspect} performing initial SSH connect tasks, will try again"
           end