mirror of https://github.com/apache/kafka.git
Added base_box variable to Vagrantfile. This makes it possible to override the base box in Vagrantfile.local.
This commit is contained in:
parent
e2ebae8098
commit
44936f7918
|
@ -27,6 +27,7 @@ num_zookeepers = 1
|
||||||
num_brokers = 3
|
num_brokers = 3
|
||||||
num_workers = 0 # Generic workers that get the code, but don't start any services
|
num_workers = 0 # Generic workers that get the code, but don't start any services
|
||||||
ram_megabytes = 1280
|
ram_megabytes = 1280
|
||||||
|
base_box = "ubuntu/trusty64"
|
||||||
|
|
||||||
# EC2
|
# EC2
|
||||||
ec2_access_key = ENV['AWS_ACCESS_KEY']
|
ec2_access_key = ENV['AWS_ACCESS_KEY']
|
||||||
|
@ -77,7 +78,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||||
|
|
||||||
## Provider-specific global configs
|
## Provider-specific global configs
|
||||||
config.vm.provider :virtualbox do |vb,override|
|
config.vm.provider :virtualbox do |vb,override|
|
||||||
override.vm.box = "ubuntu/trusty64"
|
override.vm.box = base_box
|
||||||
|
|
||||||
override.hostmanager.ignore_private_ip = false
|
override.hostmanager.ignore_private_ip = false
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue