forked from NationTech/harmony
chore: refactor pxe templates to jinja templates rendered by askama
This commit is contained in:
6
examples/okd_pxe/templates/boot.ipxe.j2
Normal file
6
examples/okd_pxe/templates/boot.ipxe.j2
Normal 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
|
||||
Reference in New Issue
Block a user