Created
February 21, 2016 17:32
-
-
Save kiarina/80e8d1f9414253a00cfa to your computer and use it in GitHub Desktop.
This file contains 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
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.define "host" do |node| | |
node.vm.box = "chef/centos-7.0" | |
node.vm.hostname = "host" | |
node.vm.network :private_network, ip: "192.168.43.51" | |
end | |
config.vm.define "web" do |node| | |
node.vm.box = "chef/centos-7.0" | |
node.vm.hostname = "web" | |
node.vm.network :private_network, ip: "192.168.43.52" | |
end | |
config.vm.define "db" do |node| | |
node.vm.box = "chef/centos-7.0" | |
node.vm.hostname = "db" | |
node.vm.network :private_network, ip: "192.168.43.53" | |
end | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment