On 09/04/2016 05:32 AM, Walter H. wrote:
what is the correct way?
That depends on what release you're using. On CentOS 7, you'd use the
"hostnamectl" command. The sysconfig/network file is no longer used for
that purpose.
Otherwise, consult /usr/share/doc/initscripts/sysconfig.txt
_
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
--
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilleth
On 2016-09-03, Walter H. 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 recommend
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
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailm
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
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailma
5 matches
Mail list logo