AW: fai-diskimage "ERROR: No classes are defined"

Schulz, Reiner R.Schulz at dvz-mv.de
Tue May 23 14:54:21 CEST 2023


Im sorry, my fault...

Reiner

-----Ursprüngliche Nachricht-----
Von: linux-fai <linux-fai-bounces at uni-koeln.de> Im Auftrag von Thomas Lange
Gesendet: Dienstag, 23. Mai 2023 13:52
An: fully automatic installation for Linux <linux-fai at uni-koeln.de>
Betreff: Re: fai-diskimage "ERROR: No classes are defined"

>>>>> On Tue, 23 May 2023 07:48:08 +0000, "Schulz, Reiner" <R.Schulz at dvz-mv.de> 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


More information about the linux-fai mailing list