>>>>> On Tue, 23 May 2023 07:48:08 +0000, "Schulz, Reiner" <[email protected]>
>>>>> said:
> 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
My code looks different:
if [ -z "$classes" -a -z "$renew" ]; then
die 7 "No classes are defined. Use -c or -N."
fi
Are you reall using the 6.0.2 version?
This change was done in 116a8709bc698344eaf5d00c109a8737d5273de6
--
regards thomas