forked from public/airgap
1
0
Fork 0

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 out/airgap.iso
.PHONY: vm .PHONY: vm
vm: out/airgap.iso vm: vm-bios
qemu-system-x86_64 \
-m 512M \
-machine pc \
-nographic \
-cdrom "out/airgap.iso"
.PHONY: vm-uefi .PHONY: vm-bios
vm-uefi: vm-bios: out/airgap.iso
qemu-system-x86_64 \ qemu-system-x86_64 \
-m 4G \ -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 \ -bios /usr/share/ovmf/OVMF.fd \
-cdrom "out/airgap.iso" -cdrom "out/airgap.iso"