fai-diskimage "ERROR: No classes are defined"

"Schulz, Reiner" <[email protected]>
Newsgroups gmane.linux.debian.fai
Message-ID <[email protected]>
Hi Thomas,

Now with fai 6.0.2 i use

fai-diskimage --cspace file:///adm/rschulz/fai/config -v -N --size 25G -u xxxxx-ra5285 xxxx-ra5285.raw

and got:

ERROR: No classes are defined

looking on the fai-diskimage  code at lines

182 if [ -z "$classes" ]; then
183     die 7 "No classes are defined"
184 fi
185
186 : ${cspace:=/srv/fai/config}
187 # if cspace starts with /, add prefix file://
188 uri=${cspace/#\//file:///}

First check for "$classes" and then set the cspace?
Wouldnt it better to set first the cspace and then check for classes?


Reiner
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.