Selaa lähdekoodia

Merge pull request #515 from drnic/vagrant_overrides

Allow reuse of existing vagrant boxes by env variables
Solomon Hykes 12 vuotta sitten
vanhempi
commit
e392b7ee9b
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      Vagrantfile

+ 2 - 2
Vagrantfile

@@ -1,8 +1,8 @@
 # -*- mode: 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"
 
 Vagrant::Config.run do |config|