summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-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