Retry SSH on EADDRINUSE

This commit is contained in:
Mitchell Hashimoto 2013-02-18 16:43:33 -08:00
parent f7491e2c65
commit 8c33814397
1 changed files with 1 additions and 0 deletions

View File

@ -165,6 +165,7 @@ module VagrantPlugins
# errors that are generally fixed from a retry and don't # errors that are generally fixed from a retry and don't
# necessarily represent immediate failure cases. # necessarily represent immediate failure cases.
exceptions = [ exceptions = [
Errno::EADDRINUSE,
Errno::ECONNREFUSED, Errno::ECONNREFUSED,
Errno::ECONNRESET, Errno::ECONNRESET,
Errno::EHOSTUNREACH, Errno::EHOSTUNREACH,