[quote=“GBison, post: 28720, member: 18212”]Hello all!
In my last FOG setup in .32, I had the menu background changed, removed the descriptions of the functions, and changed the wording for some of the functions themselves through an easily edited text file. If I recall, the file was called default.something and was located somewhere inside the pxelinux folder.
Now, with the new FOG 1.0.1 moving things around, I’m a bit lost. I found where the background goes after a bit of digging, but I’m wondering where I go to change the font color, highlight color, edit the text, etc. I know about the webUI PXE menu edit field, but this just adds extra text to the bottom… not what I’m looking to do right now.
Any help is appreciated![/quote]
If you really want to edit the menu, there’s no major issue, and it is (more or less) still editing one simple text file.
The file is now located in:
/var/www/{FOGWEBDIR}/lib/fog/BootMenu.class.php
Just be cognizant of what you’re editing. iPXE is a bit finicky about syntax. If you’re dealing with gap’s and have dashes in them, you need to have two prepending dashes: (example below)
[code]item --gap – ---------------------------[/code]
You’ll break ipxe if you have:
[code]item --gap ---------------------------[/code]
Here’s ipxe’s scripting documentation:
[url]http://ipxe.org/scripting[/url]
Here’s ipxe’s command information:
[url]http://ipxe.org/cmd[/url]
[COLOR=#000000]It’s pretty simple once you look at it, but it may take a little bit to understand how it’s being build. The old /tftpboot/pxelinux.cfg/default file was useful, but it wasn’t dynamic. That’s where moving to ipxe made things so much easier. While confusing at first, it’s much simpler and, from a programmatic standpoint, nice to work with as you can add anything you need dynamically.[/COLOR]