I have a file /etc/sysconfig/network and in the file is

cat  /etc/sysconfig/network
# Created by anaconda
HOSTNAME=zotac_c7.msgnet.com
[root@localhost ~]#

I rebooted and the prompt is still localhost ?

What is the new thing in CentOS 7 to set the host name
such that then the prompt is correct also?

Thanks

Jerry
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to