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 <[email protected]> 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; [email protected]; sip://[email protected]

Antwort per Email an