mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07: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