-
Notifications
You must be signed in to change notification settings - Fork 2
/
Vagrantfile
26 lines (24 loc) · 1.13 KB
/
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
Vagrant.configure('2') do |config|
config.vm.box = 'ubuntu-22.04-uefi-amd64'
config.vm.provider :libvirt do |lv, config|
lv.memory = 4*1024
lv.cpus = 4
lv.cpu_mode = 'host-passthrough'
lv.nested = true
lv.keymap = 'pt'
lv.machine_virtual_size = 64
lv.disk_driver :discard => 'unmap', :cache => 'unsafe'
config.vm.synced_folder '.', '/vagrant', type: 'nfs', nfs_version: '4.2', nfs_udp: false
end
config.vm.hostname = 'ovmf'
config.vm.provision :shell, path: 'provision-base.sh'
config.vm.provision :shell, path: 'provision-edk2.sh'
config.vm.provision :shell, path: 'build-ovmf.sh', privileged: false
config.vm.provision :shell, path: 'provision-go.sh'
config.vm.provision :shell, path: 'provision-go-1.19.sh'
config.vm.provision :shell, path: 'provision-qmp-shell.sh', privileged: false
config.vm.provision :shell, path: 'provision-go-uefi.sh', privileged: false
config.vm.provision :shell, path: 'provision-sbctl.sh', privileged: false
config.vm.provision :shell, path: 'provision-linux.sh', privileged: false
config.vm.provision :shell, path: 'provision-u-root.sh', privileged: false
end