kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From guozh...@apache.org
Subject kafka git commit: MINOR: expose vagrant base box as variable
Date Thu, 13 Aug 2015 22:21:30 GMT
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 <geoff@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 <geoff@confluent.io>
Authored: Thu Aug 13 15:22:54 2015 -0700
Committer: Guozhang Wang <wangguoz@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
 


Mime
View raw message