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

Reply via email to