Displaying 3 results from an estimated 3 matches for "zotac_c7".
2015 Apr 21
4
hostname on centos 7.1
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 at 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
2015 Apr 23
1
hostname on centos 7.1
...tos.org>
Sent: Tuesday, April 21, 2015 9:23:26 AM
Subject: Re: [CentOS] hostname on centos 7.1
On Tue, Apr 21, 2015 at 08:43:15AM -0400, Jerry Geis wrote:
> 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 at 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?
hostnamectl set-hostname --static c7.msgnet.com
Without the static option, I think...
2015 Apr 21
0
hostname on centos 7.1
On Tue, Apr 21, 2015 at 08:43:15AM -0400, Jerry Geis wrote:
> 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 at 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?
hostnamectl set-hostname --static c7.msgnet.com
Without the static option, I think...