Re: Prevent network setup from changing the hostname

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



On 04/26/2015 07:37 PM, Frank Cox wrote:
On Sun, 26 Apr 2015 19:25:27 -0500
Robert Nichols wrote:

Do you know of a place I can set a static name that NetworkManager
won't override?

What about this:

hostnamectl set-hostname whateveryouwant

# which hostnamectl
/usr/bin/which: no hostnamectl in (/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
# yum provides \*/hostnamectl
  '''
No Matches found

Apparently does not exist for CentOS 6.

--
Bob Nichols     "NOSPAM" is really part of my email address.
                Do NOT delete it.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://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