On Tue, Nov 29, 2011 at 11:49:40AM +0100, Joschi Brauchle wrote:
- have a "default" boot menu (in ./pxelinux.cfg/default)
- have a "auto-reinstall" menu (in
We do something similar but split between desktops and servers. We tend to have servers always pxe boot. We use mac addressed files to start the install, and in the chroot use tftp to update the hosts file(s) to change them to boot off disk so they don't just loop through the installer.
HPs we tend to leave to not default to pxe, because older ilos had an issue with the curses menu hanging if they went through the default file and then tried to boot off disk. They're easy enough to use a binary from HP that you can use on reboot with pxe as the arg to have it immediately reboot into a pxe boot... and I mean immediate (no actual OS shutdown, which is fine when you're going to re-image anyway).
Desktops we instruct the user to hit F12 (mostly HPs) to pxe when they want the self-serve menu system we've setup and are just beginning to get out there.
Also, I dont see why one would need to hack the code of menu.c32. You can ask those question (like new hostname/default username) with the AutoYast <ask> functionality, where you can also provide default values. The hostname could also be provided via DHCP/DDNS/DNS.
Yeah, I went this route so that installs were something that asked 2 questions up front then the entire autoyast process was hands off. Plus I hadn't messed with the autoyast ask stuff at the time either. :) But that's another way to go.