Hello,
I found different ways to define the hostname ...
this HOSTNAME="host.domain.tld"
or this: HOSTNAME="host" DOMAIN="domain.tld"
what is the correct way?
Thanks, Walter
On 2016-09-03, Walter H. Walter.H@mathemainzel.info wrote:
Hello,
I found different ways to define the hostname ...
this HOSTNAME=3D"host.domain.tld"
or this: HOSTNAME=3D"host" DOMAIN=3D"domain.tld"
what is the correct way?
Thanks, Walter
In the case of RHEL 5 and 6 the former way is recommended[1]. I don't know whether that advice has changed with RHEL 7.
1: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/htm...
On Sun, 4 Sep 2016 19:57:01 +0100 Liam O'Toole wrote:
In the case of RHEL 5 and 6 the former way is recommended[1]. I don't know whether that advice has changed with RHEL 7.
hostnamectl set-hostname whateveryourhostnameshouldbe