Initial commit

This commit is contained in:
2025-11-07 05:29:32 +01:00
commit 6cb1c7d48b
22 changed files with 335 additions and 0 deletions

5
generate.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -euxo pipefail
SCRIPT_DIR=$(dirname -- "$(readlink -f -- "$BASH_SOURCE")")
${SCRIPT_DIR}/tools/merge.py ./nodes | gomplate -d nodes=stdin://nodes.json -d dhcp=${SCRIPT_DIR}/dhcp.yaml --input-dir ${SCRIPT_DIR}/templates --output-dir ${SCRIPT_DIR}/rendered