summaryrefslogtreecommitdiffstats
path: root/data/ipxe-embed.template
diff options
context:
space:
mode:
authorSimon Rettberg2016-02-19 16:01:26 +0100
committerSimon Rettberg2016-02-19 16:01:26 +0100
commited15be63f1d325216637254585980627735d7d45 (patch)
tree6eef1a9c4b82784be1f8e85271dcaa293172ef7c /data/ipxe-embed.template
parent[createldapconfig] Prevent acidentally passed string "false" from being used ... (diff)
downloadtmlite-bwlp-ed15be63f1d325216637254585980627735d7d45.tar.gz
tmlite-bwlp-ed15be63f1d325216637254585980627735d7d45.tar.xz
tmlite-bwlp-ed15be63f1d325216637254585980627735d7d45.zip
[ipxe] use-cached was undocumented and has no effect anymore; use ifopen
Diffstat (limited to 'data/ipxe-embed.template')
-rw-r--r--data/ipxe-embed.template13
1 files changed, 9 insertions, 4 deletions
diff --git a/data/ipxe-embed.template b/data/ipxe-embed.template
index 9437495..2a5b7c2 100644
--- a/data/ipxe-embed.template
+++ b/data/ipxe-embed.template
@@ -1,8 +1,13 @@
#!ipxe
-set use-cached 1
-dhcp net0
-set net0.dhcp/next-server %ipaddress%
-set net0.dhcp/filename ipxelinux.0
+ifopen
+set net0.dhcp/next-server %ipaddress% ||
+set net0.dhcp/filename ipxelinux.0 ||
+set net0.dhcp/210:string / ||
+set net0.dhcp/209:string pxelinux.cfg/default ||
+set next-server %ipaddress%
+set filename ipxelinux.0
+set 210:string /
+set 209:string pxelinux.cfg/default
imgload pxelinux.0
boot pxelinux.0