Re: Remove a defined class
Thomas Lange <[email protected]>
| Newsgroups | gmane.linux.debian.fai |
|---|---|
| Message-ID | <[email protected]> |
>>>>> On Thu, 10 Dec 2020 15:11:14 +0000, Markus Rexhepi-Lindberg <[email protected]> said: > Is it possible to remove a defined class during a install? Uuuuh. It may be possible but in 2006 we already had this questions https://lists.uni-koeln.de/pipermail/linux-fai/2006-November/004613.html The clean way would be to write a hook with suffix .sh (then it is sourced). This hook must remove the class from $LOGDIR/FAI_CLASSES and also redefine the shell variable $classes. We use this command in FAI for setting $classes classes=$(< $LOGDIR/FAI_CLASSES) -- regards Thomas