You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by gu...@apache.org on 2015/08/14 00:21:30 UTC
kafka git commit: MINOR: expose vagrant base box as variable
Repository: kafka
Updated Branches:
refs/heads/trunk 2c55bd8aa -> c8e62c981
MINOR: expose vagrant base box as variable
Added base_box variable to Vagrantfile. This makes it possible to override the base box in Vagrantfile.local.
Author: Geoff Anderson <ge...@confluent.io>
Reviewers: Guozhang Wang
Closes #137 from granders/minor-expose-vagrant-box and squashes the following commits:
44936f7 [Geoff Anderson] Added base_box variable to Vagrantfile. This makes it possible to override the base box in Vagrantfile.local.
Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/c8e62c98
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/c8e62c98
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/c8e62c98
Branch: refs/heads/trunk
Commit: c8e62c9818a04c01a4eb16cf30772dfbd30d3a26
Parents: 2c55bd8
Author: Geoff Anderson <ge...@confluent.io>
Authored: Thu Aug 13 15:22:54 2015 -0700
Committer: Guozhang Wang <wa...@gmail.com>
Committed: Thu Aug 13 15:22:54 2015 -0700
----------------------------------------------------------------------
Vagrantfile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kafka/blob/c8e62c98/Vagrantfile
----------------------------------------------------------------------
diff --git a/Vagrantfile b/Vagrantfile
index ee8b352..28bf24a 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -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