-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathVagrantfile
30 lines (26 loc) · 989 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
# Use the bento version because it's considered friendlier for multiple
# providers compared to the "official" ubuntu version
config.vm.box = "bento/ubuntu-22.04"
# Give a bit more memory than default 1 GB, may need to tweak this depending
# on host machine
config.vm.provider "virtualbox" do |v|
v.memory = 2048
end
# This is the main host where we run servers/etc
config.vm.define "lakitu", primary: true do |lakitu|
lakitu.vm.hostname = "lakitu"
lakitu.vm.network "private_network", ip: "192.168.56.2"
end
# These are agent servers that run things that connect to the main host
config.vm.define "spiney1" do |spiney1|
spiney1.vm.hostname = "spiney1"
spiney1.vm.network "private_network", ip: "192.168.56.3"
end
config.vm.define "spiney2" do |spiney2|
spiney2.vm.hostname = "spiney2"
spiney2.vm.network "private_network", ip: "192.168.56.4"
end
end