AW: Problem with DNS DHCP-Name

Denny Bortfeldt d.bortfeldt at babiel.com
Mon Jun 13 16:03:29 CEST 2016


Thank you Thomas!

-----Ursprüngliche Nachricht-----
Von: linux-fai [mailto:linux-fai-bounces at uni-koeln.de] Im Auftrag von Thomas Lange
Gesendet: Montag, 13. Juni 2016 15:19
An: fully automatic installation for Linux
Betreff: Re: Problem with DNS DHCP-Name

>>>>> On Mon, 13 Jun 2016 12:52:54 +0000, Denny Bortfeldt <d.bortfeldt at babiel.com> said:

    > Hello everyone,
    > I’ve got a little problem with my fai installations.

    > Everytime I install a client via pxe, the name of the vm contains our dns domain. I know that Thomas had a fix for this but I can’t find it anywhere.

    > Can anyone give me a link or a hint for the fix?

cat <<EOF >> /srv/fai/nfsroot/etc/fai/fai.conf # use short hostname instead of FQDN export HOSTNAME=\${HOSTNAME%%.*} echo \$HOSTNAME > /proc/sys/kernel/hostname EOF


--
regards Thomas


More information about the linux-fai mailing list