Michael Goetze <[email protected]> 2011-05-13 12:40:
Hi David,

On 05/13/2011 02:12 AM, David Dreezer wrote:
My workaround has been to remove the reboot flag as you see in the
config that I linked to. I will then manually go in, edit
/etc/default/grub/GRUB_CMDLINE_LINUX_DEFAULT then reboot the machine,
but that's not exactly automatic. I could put a script into
/scripts/LAST for this server class that will sed that into the file for
me I suppose, but is there a better way? Is there a mechanism in FAI
that would do this for me, but that I am not seeing?

Um, that is exactly the classic FAI mechanism for getting things done -
write a script to do it. I don't know by which critera you'd like to
evaluate whether something else is better, but writing scripts is what
FAI is all about.

Regards,
Michael

Here's a stripped down example of what I've done for similar hosts. All it does is add a rootdelay parameter for certain SCSI controllers, but you should be able to see how you'd replace that with something else.
The confs may be slightly out of date.

Brian

Attachment: fai_grub_opts_example.tar.bz2
Description: Binary data

Attachment: signature.asc
Description: Digital signature

Antwort per Email an