forked from public/airgap
working vm-bios and vm-efi targets
This commit is contained in:
parent
fbdb919b7f
commit
e886bc51fa
22
Makefile
22
Makefile
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue