Problem with DNS DHCP-Name

Thomas Lange lange at informatik.uni-koeln.de
Mon Jun 13 15:19:04 CEST 2016


>>>>> 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