questions about install

Henning Sprang henning_fai at gmx.de
Mon Nov 22 23:09:55 CET 2004


Hy,

On Fri, 2004-11-19 at 19:54 +0100, Rudy Gevaert wrote:
> [...]
> make-fai-bootfloppy -vF FAI_ACTION=install
> 
> otherwise it didn't install.  Is this right? Or do I have to define it
> somewhere else?  In the class directory?

There are several ways to configure the FAI_ACTION. The above is one. 
Another one is to do it in the class directory, the FAI examples show
how this is set in LAST.var, based on hostnames, but i think you could
also set it in another *.var script based on other criteria.
A third way is to send the action variable by dhcp, as option-171 (see
dhcp examples coming with the FAI package), and another one, to select
or set it in the boot menu of the bootfloppy, if i remember correctly. 


> 
> Also I put FAI_CONFIGDIR=/ed/fai_configdir , and copied the files in
> /usr/share/doc/fai/examples/simple/* to that directory.  I then
> renamed the file demo to ant01 (my test machine).  It then installed.
> 
> Do I have to make such a file for each machine?  I don't think so.

this is the way to define classes for singles host based on their
hostname, see 01alias.var for examples of other ways to define classes
based on parts of hostname. 

If you look deeper in all the example files, or even in the base FAI
scripts in /usr/lib/fai, you'll get a lot of examples for the multitude
of ways FAI gives you to define classes based on multiple system
characteristics - you could even define classes based on specific
hardware built into the system - if you want you can define the class
FILSERVER to every host that has a harddisk of 200 GB and a RAID card -
just use the source. FAI is so flexible in all these things that you can
easily get lost if you just have some simple things to do :)


> 
> Also I've found much more files in /usr/local/share/fai/* , are these
> now used?  Can I move them to my FAI_CONFIGDIR ?
> 

If actions you've taken in /ed/fai_configdir lead to visible results, i
don't think /usr/local/share/fai is used, but i didn't play around with
this so i am not sure.

Henning



More information about the linux-fai mailing list