forked from rgl/ovmf-secure-boot-vagrant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
27 lines (25 loc) · 1.17 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
27
Vagrant.configure("2") do |config|
# Use the box you generated from this repo:
# https://github.com/meese-enterprises/ubuntu-vagrant
config.vm.box = "ubuntu-22.04-uefi-amd64"
config.vm.provider :libvirt do |lv, config|
lv.memory = 8*1024
lv.cpus = 4
lv.cpu_mode = "host-passthrough"
lv.nested = true
lv.keymap = "us"
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-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