You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
474 B
Makefile

# 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