[CentOS] /etc/sysconfig/network HOSTNAME settings

Walter H.

Walter.H at mathemainzel.info
Sun Sep 4 12:32:56 UTC 2016


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





More information about the CentOS mailing list