Last active
April 15, 2021 16:03
-
-
Save paulcoghlan/f53d1085655894e72b9189ecc133b12b to your computer and use it in GitHub Desktop.
Vagrantfile for ES Bare-metal development
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| | |
config.vm.network "private_network", type: "dhcp" | |
(1..3).each do |i| | |
config.vm.define "node-#{i}" do |node| | |
node.vm.box = "ubuntu/focal64" | |
node.vm.provision "shell", | |
inline: "echo hello from node #{i}" | |
end | |
end | |
config.vm.provider "virtualbox" do |vb| | |
vb.memory = "2048" | |
vb.cpus = "2" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment