Skip to content

Instantly share code, notes, and snippets.

@paulcoghlan
Last active April 15, 2021 16:03
Show Gist options
  • Save paulcoghlan/f53d1085655894e72b9189ecc133b12b to your computer and use it in GitHub Desktop.
Save paulcoghlan/f53d1085655894e72b9189ecc133b12b to your computer and use it in GitHub Desktop.
Vagrantfile for ES Bare-metal development
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