-
Notifications
You must be signed in to change notification settings - Fork 1
/
Vagrantfile
35 lines (26 loc) · 993 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
31
32
33
34
35
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.define "buildbot" do |buildbot|
buildbot.vm.box = "debian/bullseye64"
buildbot.vm.network "forwarded_port", guest: 80, host: 8080, auto_correct: true
buildbot.vm.host_name = "buildbot.berlin.freifunk.net"
end
config.vm.define "configserver" do |configserver|
configserver.vm.box = "debian/buster64"
configserver.vm.network "forwarded_port", guest: 80, host: 8080, auto_correct: true
configserver.vm.host_name = "config.berlin.freifunk.net"
end
config.vm.provision "ansible" do |ansible|
ansible.playbook = "play.yml"
ansible.raw_arguments = ['--diff']
end
# disable folder sync since we don't need it
config.vm.synced_folder ".", "/vagrant", disabled: true
# Add more ressources to the vm so its faster
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--ioapic", "on"]
vb.memory = 4092
vb.cpus = 4
end
end