On Tue, Nov 29, 2011 at 11:49:40AM +0100, Joschi Brauchle wrote:
PXE boot: - have a "default" boot menu (in ./pxelinux.cfg/default) - have a "auto-reinstall" menu (in ./pxelinux.cfg/
)
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. -- Mike Marion-Unix SysAdmin/Staff IT Engineer-http://www.qualcomm.com "...In my phone conversation with Microsoft's lawyer I copped to the fact that just maybe his client might see me as having been in the past just a bit critical of their products and business practices. This was too bad, he said with a sigh, because they were having a very hard time finding a reporter who both knew the industry well enough to be called an expert and who hadn't written a negative article about Microsoft." -- Robert X. Cringely -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org