defining moduleslist variabele

Steffen Grunewald steffen.grunewald at aei.mpg.de
Fri Mar 11 14:35:58 CET 2005


On Fri, Mar 11, 2005 at 02:13:58PM +0100, Rudy Gevaert wrote:
> Hello,
> 
> Can anyone tell me how the *.var files are processed.  Are the
> variables appended to each other or are they overwritten?

overwritten if not specified otherwise.

> I now have a machine antserv02 that has (amongst others) the following
> classes defined: ANTSERV02 and OPENAFSCLIENT
> 
> In ANTSERV02.var I have 
> moduleslist="tulip"
> 
> and in OPENAFSCLIENT.var I have
> moduleslist="openafs"

Since the files will be processed in alphabetical order, you will
end up with

moduleslist="openafs"

You may modify this by writing 
moduleslist="$moduleslist openafs"
which will append. (ba)sh semantics...

> When the machine is installed the tulip module is not loaded.

Of course, not.

> It seems to me that the the moduleslist variabele is overwritten and
> not expanded.  Or am I doing something wrong?

Depends... FAI is doing what you told it to do...

Cheers,
 Steffen

-- 
Steffen Grunewald * * * Merlin cluster admin (http://pandora.aei.mpg.de)
Albert-Einstein-Institut (MPI Gravitationsphysik, http://www.aei.mpg.de)
       Science Park Golm, Am Mühlenberg 1, 14476 Potsdam, Germany
e-mail: steffen.grunewald(*)aei.mpg.de * +49-331-567-{fon:7233,fax:7298}



More information about the linux-fai mailing list