Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   ( SOLVED ) Hostname too long (http://www.linux-archive.org/centos/459375-solved-hostname-too-long.html)

Johan Scheepers 11-30-2010 10:51 AM

( SOLVED ) Hostname too long
 
Good day,

Some time ago I asked some assistance for the long hostname in the
terminals.

Editing .bashrc in user and root by adding PS1=xxxxxxx did make the
difference.

Here is something I picked up on another list that make editing .bashrc
not necessary.
as root.. gedit /etc/sysconfig/network

# HOSTNAME=localhost.localdomain

change to in my case and that solves the problem

HOSTNAME=johan.jan

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


All times are GMT. The time now is 07:56 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.