Re: /etc/sysconfig/network HOSTNAME settings

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



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

_______________________________________________
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