mirror of
https://github.com/clearlinux/docker.git
synced 2026-05-15 03:05:06 +00:00
Allow reuse of existing vagrant boxes by env variables
Usage:
BOX_NAME=precise64 vagrant up
This commit is contained in:
4
Vagrantfile
vendored
4
Vagrantfile
vendored
@@ -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|
|
||||
|
||||
Reference in New Issue
Block a user