I’m trying to integrate fog’s PXE server in my organization one’s.
What I want to do is : my PXE server first chains to fog to query about a pending task.
If a task’s pending for the host, it boots on it, if not, it chains back to our organization’s PXE server.
I took a look at boot.php, but didn’t really understood where to add the “go back to my PXE server” in the newboot() function.
(I know how to query for a pending task, it works if a task exists for the host, but I don’t know what to do to automatically go back (without delay nor prompt) if there’s not.
Bonus question (just for curiosity) : What do the -ar option of your chain ipxe command ? I found nothing about that, wherever I searched on the net (I looked at ipxe doc pages, of course).
Thanks for your help.