HOSTNAME is set to FQDN under wheezy
Toomas Tamm
tt-fai at kky.ttu.ee
Tue Jun 25 16:12:07 CEST 2013
On Fri, 2013-06-21 at 19:51 +0200, Thomas Lange wrote:
> >>>>> On Fri, 21 Jun 2013 17:56:45 +0300, Toomas Tamm <tt-fai at kky.ttu.ee> said:
>
> > In earlier versions of FAI, the $HOSTNAME and `hostname` returned the
> > base name of the host being installed. Under wheezy (FAI 4.0.6) however,
> > both contain the host.domain.xx FQDN of the machine. I have had to
> > change several of my scripts to work around this.
> Please check your boot.log. If it contains the FQDN, then it's a DHCP
> issue IMO.
> I do not have those problems. Also with FAI 4.0.6, I have the short
> host names in my installations.
boot.log has the short hostname, just the like in earlier versions of
FAI (I still have some older logs available). Also the DOMAIN variable
in boot.log is set correctly in both old and new logs.
Still clueless,
Toomas
More information about the linux-fai
mailing list