working vm-bios and vm-efi targets

This commit is contained in:
Lance Vick 2024-06-17 11:56:18 -07:00
parent fbdb919b7f
commit e886bc51fa
Signed by: lrvick
GPG Key ID: 8E47A1EC35A1551D
1 changed files with 13 additions and 9 deletions

View File

@ -4,18 +4,22 @@ default: \
out/airgap.iso
.PHONY: vm
vm: out/airgap.iso
qemu-system-x86_64 \
-m 512M \
-machine pc \
-nographic \
-cdrom "out/airgap.iso"
vm: vm-bios
.PHONY: vm-uefi
vm-uefi:
.PHONY: vm-bios
vm-bios: out/airgap.iso
qemu-system-x86_64 \
-m 4G \
-machine type=q35 \
-machine pc \
-serial stdio \
-cdrom "out/airgap.iso"
.PHONY: vm-efi
vm-efi:
qemu-system-x86_64 \
-m 4G \
-machine pc \
-serial stdio \
-bios /usr/share/ovmf/OVMF.fd \
-cdrom "out/airgap.iso"