I tracked down this problem:

as we removed HOST in the main fai script, we also removed the line in
fai-class which checked id HOST is set, and only if not, it set the
HOSTNAME from uname.
Now, always HOSTNAME is newly exported , even in dirinstall(where,
before, HOST way set), which makes the HOSTNAME to be used in class
definition the name of the host we run dirinstall on.

Either, the(little bit ugly) old way with the HOST should be restored,
or, better some other way of determining a dirinstall in fai-class
should be introduced(bit $action and $FAI_ACTION are not available
there), or setting and exporting HOSTNAME again in fai-class should also
be removed (I don't know for what it's used currently - we should have
HOSTNAME set here anyway - or ist it missing here in a dirinstall?)

Should I send a patch or is this explanation clear enough?

Henning


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to