2023-02-12 12:40:54 +00:00
|
|
|
.DEFAULT_GOAL :=
|
|
|
|
.PHONY: default
|
|
|
|
default: \
|
2024-06-11 21:07:13 +00:00
|
|
|
out/airgap.iso
|
2023-01-30 23:17:54 +00:00
|
|
|
|
|
|
|
.PHONY: vm
|
2024-06-11 21:07:13 +00:00
|
|
|
vm: out/airgap.iso
|
|
|
|
qemu-system-x86_64 \
|
|
|
|
-m 512M \
|
|
|
|
-machine pc \
|
|
|
|
-nographic \
|
|
|
|
-cdrom "out/airgap.iso"
|
2020-07-24 10:07:39 +00:00
|
|
|
|
2024-06-11 21:07:13 +00:00
|
|
|
.PHONY: vm-uefi
|
|
|
|
vm-uefi:
|
|
|
|
qemu-system-x86_64 \
|
|
|
|
-m 4G \
|
|
|
|
-machine type=q35 \
|
|
|
|
-bios /usr/share/ovmf/OVMF.fd \
|
|
|
|
-cdrom "out/airgap.iso"
|
|
|
|
|
|
|
|
out/airgap.iso: Containerfile
|
2024-03-01 18:51:15 +00:00
|
|
|
docker build \
|
|
|
|
--progress=plain \
|
2024-06-11 21:07:13 +00:00
|
|
|
--output type=local,dest=out \
|
|
|
|
-f Containerfile \
|
|
|
|
.
|