Hi Oliver,

Thanks for answering... but PXEMENU is not the solution.

The machine has already booted, so I can't call PXEMENU. This tool, as far as I know the PXEMENU is called to select the boot device.

I want to boot from network, I need the FAI system. I just having problems trying to change the FAI_ACTION after the "/usr/sbin/fai" script has been already started.

Does anyone used the "hooks" from FAI? Does anyone never tried to create a menu asking the user if they want to install Debian with or without GNOME for example?





Oliver Osburg escreveu:
Hi Andre,

did you take a look at pxemenu? 
(https://subtrac.sara.nl/oss/pxeconfig/browser/trunk/README-pxemenu just one of 
the first hits in google...) With pxemenu you should be able to set FAI_ACTION 
to any value you like.

regards,

Oliver


* Andre Roslindo Vasko <[EMAIL PROTECTED]> [080221 13:45]:
Hi there,

Sorry to bother you, but I need your help.

I installed FAI on my server and I REALLY NEED to put a menu BEFORE the
installation starts. So I created a hook called "menu" and changed the
FAI_ACTION to "menu". After the user choose some option on the menu, I want to
change the FAI_ACTION to "install" but I got errors when I run "fai -N
install".

Is there a way to call the script /usr/sbin/fai with the FAI_ACTION set to
install from a hook that I created?

I don't want to destroy the work that Thomas did creating FAI, so I'm asking if
there is a "correct" way to call install from a hook. But I could simple edit
the code of function "install" and put the code from my hook there, what I
think that is a "wrong" and "dirty" way to do that.

Thanks in advance,

ANDR  VASKO

Antwort per Email an