On 2016-09-03, Walter H. <Walter.H@xxxxxxxxxxxxxxxxx> 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/html/Deployment_Guide/ch-Network_Interfaces.html#sect-setting-the-host-name -- Liam _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx https://lists.centos.org/mailman/listinfo/centos