HOSTNAME is set to FQDN under wheezy

Toomas Tamm tt-fai at kky.ttu.ee
Fri Jun 21 16:56:45 CEST 2013


Hello!

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.

Have you noticed the same? Or is this some unrelated change in my setup?
I suspect the debian-live -> dracut move may be related to it, but I
could be wrong of course.

Any suggestions how to return to the old behaviour?

Regards,

Toomas Tamm



More information about the linux-fai mailing list