AW: Problem with DNS DHCP-Name

2016-06-13 Diskussionsfäden Denny Bortfeldt
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 +, 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 <> /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


Re: Problem with DNS DHCP-Name

2016-06-13 Diskussionsfäden Thomas Lange
> On Mon, 13 Jun 2016 12:52:54 +, Denny Bortfeldt 
>  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 <> /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


Problem with DNS DHCP-Name

2016-06-13 Diskussionsfäden Denny Bortfeldt
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?

For example:
DNS-Domain: domain.tld
VM-Name via DHCP: f00

Name of vm during installation would be: f00.domain.tld


Thanks in advance.

Best regards,
Denny