Re: Hostname question

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



On 4/8/2013 11:17 AM, Jason T. Slack-Moehrle wrote:
> but `hostname -f` says:
>
> $ hostname -f
> hostname: Unknown host

put the hostname in /etc/sysconfig/network, as ..

HOSTNAME=full.domain.name.com

example...

$ more /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=hostname.mydomain.com
GATEWAY=x.y.w.x


-- 
john r pierce                                      37N 122W
somewhere on the middle of the left coast

_______________________________________________
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