vm-templates/Makefile

16 lines
316 B
Makefile

all: alpine-qemu.pkr.hcl
alpine-qemu.pkr.hcl:
@echo "==> Validating $@ ..."
@packer validate $@
@echo "==> Building VM box for $@ ..."
@packer build -on-error=abort $@
format:
@packer fmt -diff -recursive .
clean:
@find ./artifacts/* -prune -exec rm -rfv {} \;
.PHONY: all alpine-qemu.pkr.hcl format clean