FAI trouble (2)

Björn Torkelsson torkel at pdc.kth.se
Thu Jul 24 08:18:36 CEST 2003


On Wed, 2003-07-23 at 11:21, Thomas Lange wrote:

>     > In fai-class :
>     >     HOSTNAME=`uname -n | cut -d. -f1`; export HOSTNAME
> 
>     > What's that ? :-( I guess it is up to the local administrator to
>     > decide she will use or not FQDN, not up to the FAI...
> Mmmmmh. I'm not sure. Since the hostname is also a class name and
> class names should not contain any dots I think fai should use only
> the short name for the classes. You will have some problems when using
> cfengine scripts. There a dot inside a list of classes means a logical
> AND of these classes. I also think most people will use the short name.

Why not add a way modify the hostname, without needing to hack fai-class
and that can be used in more places. an external fai-hostname command
maybe?

Of course with a big red sign saying: "Make sure you know what you are
doing" :-)

/torkel



More information about the linux-fai mailing list