Centos 6.4 hostname issues.

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



Hi All.

I currently have a problem with hostname and fqdn.
I use:

# cat /etc/redhat-release ; uname -r
CentOS release 6.4 (Final)
2.6.32-358.11.1.el6.centos.plus.x86_64

# hostname
srv1.devel.test.com

# grep HOSTNAME /etc/sysconfig/network
HOSTNAME=srv1.devel.test.com

# cat /etc/hostname
srv1

# cat /etc/domainname
devel.test.com

but

# hostname --fqdn
devel.test.com

As I think it should give: srv1.devel.test.com.
Have you got similar problem? Any hint how to solve it?

Best regards,
Rafal Radecki.
_______________________________________________
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