From aa32d594ca9ab30cf688c012a2e09d637bd64ffe Mon Sep 17 00:00:00 2001 From: Vitor Pellegrino Date: Mon, 19 Jul 2010 11:08:17 -0300 Subject: [PATCH] Adding box_url as a possible option at vagrantfile --- lib/vagrant/config.rb | 1 + test/test_helper.rb | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/vagrant/config.rb b/lib/vagrant/config.rb index 05385362c..0e74cdab3 100644 --- a/lib/vagrant/config.rb +++ b/lib/vagrant/config.rb @@ -96,6 +96,7 @@ module Vagrant attr_accessor :auto_port_range attr_accessor :box + attr_accessor :box_url attr_accessor :box_ovf attr_accessor :base_mac attr_accessor :boot_mode diff --git a/test/test_helper.rb b/test/test_helper.rb index 68fad5d08..b40857375 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -32,6 +32,7 @@ class Test::Unit::TestCase config.ssh.private_key_path = '~/foo' config.vm.box = "foo" + config.vm.box_url = "http://mycompany.com/protected/my_box.box" config.vm.box_ovf = "box.ovf" config.vm.base_mac = "42" config.vm.disk_image_format = 'VMDK'