I was about to write some wrappers to do this, but it occurs to me that it might be easier to do inside cobbler itself. How about instead of just having pxelinux.cfg/default kick straight into a hard disk boot (which is a nice, safe default) it pops up a list of the profiles it knows about, and will accept those names at the prompt? This would let you do one-time installs without having to generate a cobbler section for it. The pxelinux.cfg/default file would then look like default local display pxelinux-default.msg timeout 100 prompt 1 label local localboot 0 label SLES-10-std kernel /images/SLES-10/vmlinuz append lang ksdevice=eth0 text devfs=nomount $OTHER-THINGS [...] I would suspect for most sites there are only going to be a few profiles, but it probably wouldn't be too hard to write the piece which generates pxelinux-default.msg to put the profiles into columns for easier display. It would probably be simplest to do this inside cobbler rather than writing a bolt-on which figures all this out. -- /\oo/\ / /()\ \ David Mackintosh | dave@xxxxxxxxxx | http://www.xdroop.com
Attachment:
pgpkrJ3ky1WCE.pgp
Description: PGP signature