Remove a defined class

Markus Rexhepi-Lindberg <[email protected]>
Newsgroups gmane.linux.debian.fai
Message-ID <[email protected]>
Hi,

Is it possible to remove a defined class during a install?

`echo CLASS_NAME` defines a class and puts it in $LOGDIR/FAI_CLASSES.
Is it enough to just remove the entry from that file to make it not defined?

I would like to remove a class being defined via a class script with
another class script being run after the first one during task_defclass.

This is due to the classes being defined are fetched from a database
using a script. I would like to act on the classes being fetched and
redefine them if needed. This is originally intended to switch between
BIOS and EFI disk classes based on the firmware the computer booted
with.

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