Thanks for replying.
Sorry for not explaining myself better, but what I had in mind is the human input, not the content of the label a person inputs...
For instance, if I have the section shown below, I'd like to be able to find the input 'aaa' somewhere (switching to a shell on /dev/tty2 during installation), or even better, any input the user might give.
label aaa
kernel vmlinuz
append initrd=initrd.img ks=cdrom:/modularization/aaa/ks.cfg ramdisk_size=8192
Another thought:
Perhaps there's a more flexible option to get user input on boot and just boot with a default label which will call for a ks.cfg file that will use the grabbed boot prompt input and run a relevant script in the "pre" or "post" sections?
[edit]:
I found the "onerror" option of isolinux which makes the server boot
a selected label whenever a wrong label name is given, this brings me one step closer but I still need a way to catch the prompt input.
Any advice is much appreciated.
Last edited by infernal211283_; 01-14-2009 at 09:21 AM.
|