summaryrefslogtreecommitdiff
path: root/Vagrantfile
blob: ffd4fbed3c5fd90c6c013229606a075bc628a74c (plain)
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

Vagrant.configure(2) do |config|
  config.vm.box = "debian/bullseye64"

  # Use the old insecure Vagrant SSH key for access.
  config.ssh.insert_key = false

  # Disable synchronization of the /vagrant folder for faster startup.
  config.vm.synced_folder ".", "/vagrant", disabled: true

  config.vm.provider :libvirt do |libvirt|
    libvirt.cpus = 1
    libvirt.memory = 3072
  end

  config.vm.define "floatrp1" do |m|
    m.vm.hostname = "floatrp1"
    m.vm.network "private_network", ip: "10.121.20.10", libvirt__dhcp_enabled: false
  end
  config.vm.define "floatapp1" do |m|
    m.vm.hostname = "floatapp1"
    m.vm.network "private_network", ip: "10.121.20.11", libvirt__dhcp_enabled: false
  end
  config.vm.define "gateway1" do |m|
    m.vm.hostname = "gateway1"
    m.vm.network "private_network", ip: "10.121.20.12", libvirt__dhcp_enabled: false
  end
end