trying to use $classes instead of --class per fai(8)

Thomas Lange lange at informatik.uni-koeln.de
Thu Dec 15 10:33:47 CET 2011


>>>>> On Wed, 14 Dec 2011 18:03:33 -0800, andrew bezella <abezella at archive.org> said:

    > based on this i tried changing the incantation to: 
    > export classes="CLASS1 CLASS2"
    > fai --class --verbose --cspace nfs://fai/srv/fai/config [...]

try this:

export myclasses="CLASS1,CLASS2"
fai --class $myclasses --verbose ........

or

export classes="CLASS1 CLASS2"
fai --verbose ........


I guess the man page is a bit confusing. If you spcify --class you
must add the comma separated list of classes. If you do not specify
--class, then the variable $classes is used.

-- 
regards Thomas


More information about the linux-fai mailing list