Re: trying to use $classes instead of --class per fai(8)
On Thu, 2011-12-15 at 10:33 +0100, Thomas Lange wrote: > > 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. that was my second guess, but resulted in "Please use -c or -N. Aborted" however a second, closer look at the script (oops) shows that that is only an error for a dirinstall. so presumably it would have worked as expected for any other action. thanks for the feedback and clarification! andy -- andrew bezella Internet Archive
Re: trying to use $classes instead of --class per fai(8)
> On Wed, 14 Dec 2011 18:03:33 -0800, andrew bezella > 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