50-host-classes

Andrew Ruthven andrew at etc.gen.nz
Wed Apr 27 09:38:18 CEST 2022


Hi Marc,

On Tue, 2022-04-26 at 14:27 +0000, Marc Hoppins via linux-fai wrote:

> The documentation leads one to the opinion that all hosts sit in the
> 50- file which makes it very unwieldy.

You can split it up into whatever files you want. You'll just want to
be careful if you have multiple files that match as the last match
would be what is used. FAI processes the files in the class directory
in shell sorting order.

We also use multiple Perl scripts that perform a regexes on the
hostname and sets classes that way. One script perl per cluster type or
customer.

Cheers,
Andrew

-- 
Andrew Ruthven, Wellington, New Zealand
andrew at etc.gen.nz |
Catalyst Cloud: | This space intentionally left blank
https://catalystcloud.nz |

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20220427/cc142ed3/attachment.html>


More information about the linux-fai mailing list