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