chore: refactor pxe templates to jinja templates rendered by askama

This commit is contained in:
2025-08-22 09:05:18 -04:00
parent 94ddf027dd
commit 57c3b01e66
6 changed files with 232 additions and 147 deletions

View File

@@ -0,0 +1,6 @@
#!ipxe
set base-url http://{{ gateway_ip }}:8080
set hostfile ${base-url}/byMAC/01-${mac:hexhyp}.ipxe
chain ${hostfile} || chain ${base-url}/fallback.ipxe