FOG PXE Boot Menu Configuration page
-
Junkhacker,
No problem on the work. I enjoy it, maybe too much?
I’ll look into, basically, reading the file in a separate window that basically has the generated file. The only issue I foresee is permissions as everything is php based. We’d need to add the grouping of fog into the apache group which could pose security issues down the road. Well, more that’s for saving the file if you made a manual edit.
I do agree that editing the file on the fly would be kind of handy, just didn’t want to make that change quite yet.
-
I’ve been thinking about the pxe configuration file situation, and i’ve come up with a very interesting solution that you will either love or hate. it adds a new feature to fog as well. if we chainboot from pxe to ipxe, the configuration file can be a php file. the computer booting would send it’s mac address (and any other variables you want such as asset tag, serial number, or UUID). this could even free fog from it’s dependance on mac addresses for identifying hosts. the host would boot to ipxe, fog could check the identification info sent for pending tasks, and generate the relevant boot configuration on the fly. the fog server could even be set to automatically run quick host registration on any unrecognized hosts, which could speed up initial deployment of fog servers. thoughts? i’ve been experimenting with this approach, but my php skills aren’t very good. i do have pxe to ipxe chainbooting, with a ipxe php boot menu for http booting isos working at the moment, so i could tell you how to get that part working.
-
Yes please PM with with how you chainloaded to ipxe and that relevant information. One of our holdups is efi pxe booting so this is rather an intriguing approach. We can discuss logic and layout as well.
I’m very interested!
-
i keep trying to give a detailed reply but keep getting blocked by akismet
-
maybe if i upload them as a text file…
[url=“/_imported_xf_attachments/0/539_instructions.txt?:”]instructions.txt[/url]
-
What do you mean, another user?
-
akismet, the spam blocker software
-
let me know if my instructions are not clear enough, or i’m missing something.
-
I will look into this when I get home. I’m sorry I had other work to do as we’ll. thank you much for the info though.
-
So I’ve attempted the chain load. It doesn’t present the menu to me, but it does jump to iPXE. Am I missing something?
I’ve removed the ISO files and am currently only testing the menu generation, no actual loading point.
-
i may have messed up the formatting of the ipxe boot menu when i sent it to you last. here’s what should be in the php file.
note: the first line ipxe sees must be #!ipxe[url=“/_imported_xf_attachments/0/540_boot.php.txt?:”]boot.php.txt[/url]