fai-diskimage "ERROR: No classes are defined"
Schulz, Reiner
R.Schulz at dvz-mv.de
Tue May 23 09:48:08 CEST 2023
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20230523/2848abf1/attachment.html>
More information about the linux-fai
mailing list