Working with centralized config

This commit is contained in:
2025-08-11 13:26:21 -07:00
parent 04e93148e7
commit 19b02e6f5a
13 changed files with 39 additions and 17 deletions

12
flatcar/Makefile Normal file
View File

@@ -0,0 +1,12 @@
# get the directory of this makefile
ROOT_DIR:=$(shell dirname "$(realpath $(firstword $(MAKEFILE_LIST)))")
ignition:
cat cl.yaml | sudo docker run --rm --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