-
Notifications
You must be signed in to change notification settings - Fork 2
/
Vagrantfile
28 lines (25 loc) · 861 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
# to make sure all nodes are created in order, we
# have to force a --no-parallel execution.
ENV['VAGRANT_NO_PARALLEL'] = 'yes'
Vagrant.configure('2') do |config|
config.vm.provider :libvirt do |lv, config|
lv.memory = 2048
lv.cpus = 2
lv.cpu_mode = 'host-passthrough'
# lv.nested = true
lv.keymap = 'pt'
config.vm.synced_folder '.', '/vagrant', type: 'nfs', nfs_version: '4.2', nfs_udp: false
end
config.vm.provider :virtualbox do |vb|
vb.linked_clone = true
vb.memory = 2048
vb.cpus = 2
vb.customize ["modifyvm", :id, "--clipboard-mode", "bidirectional"]
end
config.vm.define 'builder' do |config|
config.vm.box = 'ubuntu-22.04-amd64'
config.vm.hostname = 'builder.test'
config.vm.provision :shell, path: 'provision-base.sh'
config.vm.provision :shell, path: 'provision-tools.sh'
end
end