Ghe Rivero wrote:
Hi people!
        After install everything properly, i have a problem cause in the
clients installed, the hostname is properly given but not included in
the /etc/hosts. There is no DNS so some applications failed to start. Is
there any way to update /etc/hosts with the client hostname Thanks.

Ghe Rivero

I usually edit the master script file and include a function 'create_host_file':


create_hosts_file() {
  cat > /a/etc/hosts << EOF
#
# Created by SystemImager
#
127.0.0.1               localhost

# First device eth0 (10.168.xxx.xxx)
#
$IPADDR         $HOSTNAME

# Second device eth1 (192.168.xxx.xxx)
#
$IPADDR_USER            $HOSTNAME_USER

# IP addresses other fileservers.
#
10.0.40.2            nfs1-server
10.0.40.3            nfs2-server
10.0.40.5            nfs3-server

EOF
}



Hope this Helps


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Sisuite-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to