Fully Automated Install (FAI) has hosts in the file 50-host-classes. We currently have a bunch of hosts which have similar names (eg, ba-hostxx.subdomain). The sub-domains are different but one cannot specify host.subdomain in the class file as the '.' is invalid.
Is it possible to have different hosts in different files? Or to specify the host in some other fashion than just
hostname*)
echo "BASEFILE FILE" ;;
such as
cluster/hostname*)
echo "BASEFILE FILE" ;;
?
The documentation leads one to the opinion that all hosts sit in the 50- file.
You can create any number of scripts in the $FAI/class/ folder to generate classes for the hosts. They just need to print out the correct class name(s) based on your criteria. Example below.
class/51-more-classes