Use feature indicator to break infinite loop e.g. when booting Virtualbox VM - Printable Version +- iPXE discussion forum (https://forum.ipxe.org) +-- Forum: iPXE user forums (/forumdisplay.php?fid=1) +--- Forum: General (/forumdisplay.php?fid=2) +--- Thread: Use feature indicator to break infinite loop e.g. when booting Virtualbox VM (/showthread.php?tid=21818) |
Use feature indicator to break infinite loop e.g. when booting Virtualbox VM - tokcum - 2020-04-22 16:14 Hi, I found a solution to a very specific problem I think which is worth sharing. This thread is about how to break the infinite loop in situations where your server / client is equipped with an iPXE ROM which misses crucial features and your DHCP / TFTP server is Dnsmasq. So this is the exact context:
As this didn't work out of the box I did some research without finding a concise solution. I refused to accept any of the following approaches:
So I had to break the infinite loop depending on the feature indicator refering to bzImage. This page made me confident that a solution is feasible: [url=https://ipxe.org/appnote/premature]. Actually it is described for ISC dhcpd but what about Dnsmasq. It says: Quote:NOTE does have dnsmasq “encapsulate”? And here is how I solved that in Dnsmasq. The trick is the 24 which refers to the feature indicator bzImage. I had tried a lot of different configs before I came finally to this very simple config. Code: # Feel free to contact me for any questions regarding this. Any other thoughts on that? Happy coding! Tobias |