# get the directory of this makefile ROOT_DIR:=$(shell dirname "$(realpath $(firstword $(MAKEFILE_LIST)))") ignition: cat cl.yaml | sudo docker run --rm --volume /home/tjhintz/.ssh/id_rsa.pub:/pwd/ssh-keys --volume ${ROOT_DIR}:/pwd --workdir /pwd -i quay.io/coreos/butane:latest -d /pwd > ignition.json build: cp --reflink=auto flatcar_production_qemu_image.img.fresh flatcar_production_qemu_image.img make ignition run: ./flatcar_production_qemu.sh -i ignition.json