Hi, Thomas,

Since hyphens are legal in hostnames, but illegal in FAI classes, I think
that then the bug is not with the fetch-basfile script, but with whatever
defines that class. I thin that the hostname class is automatically defined
by FAI (i.e. not by our FAI configuration), but I may be wrong.  I think
that the approach to replace hyphens and any other illegal characters with
underscores is a very good one.

On Wed, Jul 26, 2017 at 9:51 AM, Thomas Lange <la...@informatik.uni-koeln.de
> wrote:

> >>>>> On Thu, 13 Jul 2017 17:41:56 -0400, Arcady Genkin <agen...@gmail.com>
> said:
>
>     > guessing that the hyphen in the host name is causing the problem
> (the hostname
>     > is "eddie-vm.teach.cs.toronto.edu" which defines a FAI class of the
> same name).
> Hi Arcady,
>
> the problem is, that FAI class names should not contain a hyphen. IIRC
> this was done because cfengine classes also do not allow hyphens, but
> underscore.
>
> One solution would be to substitute the hyphen in the hostname into a
> underscore, which is allowed in FAI classes.
>
> I fear we will break more things if we allow hyphens in class names.
>
> Any comments on this from the mailing list (CC)?
> --
> regards Thomas
>



-- 
Arcady Genkin

Reply via email to