From bdef7efb2dc48f0534d199b9067b00b9bec4af67 Mon Sep 17 00:00:00 2001 From: Michael Kuzmin Date: Mon, 29 Sep 2014 22:36:37 +0400 Subject: [PATCH] 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. --- lib/vagrant/action/builtin/handle_box.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/vagrant/action/builtin/handle_box.rb b/lib/vagrant/action/builtin/handle_box.rb index 0ecaece67..992ab0126 100644 --- a/lib/vagrant/action/builtin/handle_box.rb +++ b/lib/vagrant/action/builtin/handle_box.rb @@ -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,