Thank you Thomas!

-----Ursprüngliche Nachricht-----
Von: linux-fai [mailto:linux-fai-boun...@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.bortfe...@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

Antwort per Email an