Follow redirects when downloading boxes [GH-1607]

This commit is contained in:
Mitchell Hashimoto 2013-04-16 13:25:32 -07:00
parent b49bd8b8ea
commit dc31725049
2 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,7 @@
BUG FIXES: BUG FIXES:
- Chef solo run list properly set. [GH-1608] - Chef solo run list properly set. [GH-1608]
- Follow 30x redirects when downloading boxes. [GH-1607]
## 1.2.0 (April 16, 2013) ## 1.2.0 (April 16, 2013)

View File

@ -30,6 +30,7 @@ module Vagrant
# Build the list of parameters to execute with cURL # Build the list of parameters to execute with cURL
options = [ options = [
"--fail", "--fail",
"--location",
"--max-redirs", "10", "--max-redirs", "10",
"--output", @destination "--output", @destination
] ]