Browse Source

Merge pull request #515 from drnic/vagrant_overrides

Allow reuse of existing vagrant boxes by env variables
Solomon Hykes 12 years ago
parent
commit
e392b7ee9b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Vagrantfile

+ 2 - 2
Vagrantfile

@@ -1,8 +1,8 @@
 # -*- mode: ruby -*-
 # -*- mode: ruby -*-
 # vi: set ft=ruby :
 # vi: set ft=ruby :
 
 
-BOX_NAME = "ubuntu"
-BOX_URI = "http://files.vagrantup.com/precise64.box"
+BOX_NAME = ENV['BOX_NAME'] || "ubuntu"
+BOX_URI = ENV['BOX_URI'] || "http://files.vagrantup.com/precise64.box"
 PPA_KEY = "E61D797F63561DC6"
 PPA_KEY = "E61D797F63561DC6"
 
 
 Vagrant::Config.run do |config|
 Vagrant::Config.run do |config|