--- alx-src/trunk/alxconfig-ng/functions/config_network.sh 2005/04/12 20:37:06 238 +++ alx-src/trunk/alxconfig-ng/functions/config_network.sh 2005/04/12 20:46:52 239 @@ -1,4 +1,4 @@ -# $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/functions/config_network.sh,v 1.3 2005-03-08 20:44:32 niro Exp $ +# $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/functions/config_network.sh,v 1.4 2005-04-12 20:45:55 niro Exp $ # configures networkin on the host via mysql db settings get_network_settings() @@ -58,7 +58,7 @@ # hostname && hosts echo "${ALX_HOSTNAME}" > /etc/hostname - echo -e "127.0.0.1\t${ALX_HOSTNAME}.${ALX_DOMAIN}\t${ALX_HOSTNAME}" > /etc/hosts + echo -e "127.0.0.1\tlocalhost\t${ALX_HOSTNAME}.${ALX_DOMAIN}\t${ALX_HOSTNAME}" > /etc/hosts # network devices