Last active
August 29, 2015 14:24
-
-
Save brk3/e2f0ad77056fc4137cf4 to your computer and use it in GitHub Desktop.
Vagrantfile.centos71.kolla
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.synced_folder ".", "/vagrant", disabled: true | |
config.vm.box = "chef/centos-7.1" | |
config.vm.provision "shell", inline: <<-SHELL | |
curl https://raw.githubusercontent.com/brk3/kolla-vagrant/master/init-kolla.sh | sh | |
SHELL | |
config.vm.provider "virtualbox" do |vb| | |
vb.memory = "8192" | |
end | |
config.vm.define "deploy1" do |deploy1| | |
deploy1.vm.network "private_network", ip: "192.168.0.50" | |
end | |
config.vm.define "controller1" do |controller1| | |
controller1.vm.network "private_network", ip: "192.168.0.51" | |
end | |
config.vm.define "controller2" do |controller2| | |
controller2.vm.network "private_network", ip: "192.168.0.52" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment