Created
March 31, 2018 20:14
-
-
Save victorboissiere/10ac3b42a0e1af204bad69319a2acf19 to your computer and use it in GitHub Desktop.
Vagrantfile repmgr
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
Vagrant.configure("2") do |config| | |
(1..2).each do |n| | |
config.vm.define "server#{n}" do |define| | |
define.vm.box = "consumerlab/ubuntu-server-16-04-LTS" | |
define.ssh.insert_key = false | |
define.vm.hostname = "server#{n}" | |
define.vm.network :private_network, ip: "10.0.15.2#{n}" | |
define.vm.provider "virtualbox" do |node| | |
node.name = "server#{n}" | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment