Re: /etc/sysconfig/network HOSTNAME settings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux