FAI setting hostname to fqdn

John G Heim jheim at math.wisc.edu
Fri Jul 1 00:21:58 CEST 2016


It worked. I copied it from 
/usr/share/doc/fai-doc/examples/simple/hooks/setup.DEFAULT.sh and 
renamed it setup.DEFAULT.



On 06/29/2016 03:25 PM, Thomas Lange wrote:
>>>>>> On Wed, 29 Jun 2016 14:55:42 -0500, John G Heim <jheim at math.wisc.edu> said:
>      > During an install, my install client is getting a hostname that is
>      > really the fully qualified hostname. So if you open a shell and type
> The newer version of hooks/setup.DEFAULT.sh include this line, to set
> the short hostname:
>
> # use short hostname instead of FQDN
> export HOSTNAME=${HOSTNAME%%.*}
>

-- 
--
John G. Heim; jheim at math.wisc.edu; sip://jheim@sip.linphone.org



More information about the linux-fai mailing list