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
and...@etc.gen.nz |
Catalyst Cloud: | This space intentionally left blank
https://catalystcloud.nz |

Antwort per Email an