Added base_box variable to Vagrantfile. This makes it possible to override the base box in Vagrantfile.local.

This commit is contained in:
Geoff Anderson 2015-08-13 14:18:41 -07:00
parent e2ebae8098
commit 44936f7918
1 changed files with 2 additions and 1 deletions

3
Vagrantfile vendored
View File

@ -27,6 +27,7 @@ num_zookeepers = 1
num_brokers = 3
num_workers = 0 # Generic workers that get the code, but don't start any services
ram_megabytes = 1280
base_box = "ubuntu/trusty64"
# EC2
ec2_access_key = ENV['AWS_ACCESS_KEY']
@ -77,7 +78,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
## Provider-specific global configs
config.vm.provider :virtualbox do |vb,override|
override.vm.box = "ubuntu/trusty64"
override.vm.box = base_box
override.hostmanager.ignore_private_ip = false