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

"Schulz, Reiner" <[email protected]>
Newsgroups gmane.linux.debian.fai
Message-ID <[email protected]>
Im sorry, my fault...

Reiner

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

>>>>> 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
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.