How to call FAI_ACTION install from a hook?

Oliver Osburg osburg at osburg.org
Thu Feb 21 13:59:43 CET 2008


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 <andrevasko at celepar.pr.gov.br> [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
-- 
 *  Oliver Osburg    -     Software and System Architect  *
 *  email: osburg at osburg.org     phone: +49 179 50 76 784 *
 *  note: All above is my opinion unless said otherwise   *
 * One Unix to rule them all, One Resolver to find them,  *
 * One IP to bring them all and in the zone bind them.    *


More information about the linux-fai mailing list