core: retry bundler network calls a few times [GH-6097]

This commit is contained in:
Mitchell Hashimoto 2015-11-19 23:57:16 -08:00
parent 32f6accb25
commit 2ade66443e
2 changed files with 5 additions and 0 deletions

View File

@ -74,6 +74,8 @@ BUG FIXES:
- commands/box: outdated global won't halt on metadata download failure [GH-6453]
- commands/package: when re-packaging a packaged box, preserve the
generated SSH key [GH-5780]
- commands/plugin: retry plugin install automatically a few times to
avoid network issues [GH-6097]
- commands/rdp: prefer `xfreerdp` if it is available on Linux [GH-6475]
- commands/up: the `--provision-with` flag works with provisioner names [GH-5981]
- communicator/ssh: fix potential crash case with PTY [GH-6225]

View File

@ -42,6 +42,9 @@ module Vagrant
yield
end
end
# Configure Bundler to retry
::Bundler.settings[:retry] = 3
end
# Initializes Bundler and the various gem paths so that we can begin