It's worth checking that /etc/sysconfig/network also has whatever hostname you wish to use configured in it.

To effect changes, it may be necessary to restart the network:

service network restart

Mick

Niki Kovacs wrote:
Marcus Moeller a écrit :

It should look like this:

127.0.0.1 localhost.localdomain localhost calimero.local calimero


I slightly altered it:

[EMAIL PROTECTED] ~]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       calimero.local calimero localhost.localdomain localhost

[EMAIL PROTECTED] ~]$ hostname
calimero.local
[EMAIL PROTECTED] ~]$ hostname --fqdn
calimero.local

Wouldn't this be more correct?
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

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

Reply via email to