Fix for ignored `config.vm.box_server_url` setting.

https://github.com/mitchellh/vagrant/pull/4282 introduced new setting to set alternate vagrant cloud server URLs, but it doesn't work actually.

 This PR helps to process the value correctly.
This commit is contained in:
Michael Kuzmin 2014-09-29 22:36:37 +04:00
parent bddca42bcb
commit bdef7efb2d
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@ module Vagrant
env[:action_runner].run(Vagrant::Action.action_box_add, env.merge({
box_name: machine.config.vm.box,
box_url: machine.config.vm.box_url || machine.config.vm.box,
box_server_url: machine.config.vm.box_server_url,
box_provider: box_formats,
box_version: machine.config.vm.box_version,
box_client_cert: box_download_client_cert,