forked from public/airgap
1
0
Fork 0
airgap/Makefile

28 lines
448 B
Makefile
Raw Normal View History

2023-02-12 12:40:54 +00:00
.DEFAULT_GOAL :=
.PHONY: default
default: \
out/airgap.iso
.PHONY: vm
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
.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
docker build \
--progress=plain \
--output type=local,dest=out \
-f Containerfile \
.