2020-04-03, 10:24
I would like to propose a small heuristic to make it easier to break the DHCP infinite loop.
Currently, users that have microtik routers or pfsense servers are advised to build ipxe on their own, while embedding a script to break the loop.
My proposed heuristic is that ipxe would automatically prefer a special "ipxe-override-filename" DHCP option to the stock DHCP filename. That way, if users define both options in their DHCP, then the first request will use "filename" (e.g. ipxe.pxe), while the ipxe request will use "ipxe-override-filename" (e.g. menu.ipxe).
Avoiding custom iPXE builds has the following benefits:
Currently, users that have microtik routers or pfsense servers are advised to build ipxe on their own, while embedding a script to break the loop.
My proposed heuristic is that ipxe would automatically prefer a special "ipxe-override-filename" DHCP option to the stock DHCP filename. That way, if users define both options in their DHCP, then the first request will use "filename" (e.g. ipxe.pxe), while the ipxe request will use "ipxe-override-filename" (e.g. menu.ipxe).
Avoiding custom iPXE builds has the following benefits:
- Less work, no need to setup a development environment
- Allows automatic updates from distribution packages
- Allows ipxe.efi to be signed