Re: [Systemimager] [Sisuite-users] clients hostname

2004-05-28 Thread Bas van der Vlies
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.2nfs1-server
10.0.40.3nfs2-server
10.0.40.5nfs3-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=3149alloc_id=8166op=click
___
Sisuite-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sisuite-users


Re: [Systemimager] [Sisuite-users] clients hostname

2004-05-28 Thread Brian Elliott Finley
Next release will include pre-install and post-install script
capability, and I'll be asking for submissions to post on the web
as examples.
This could be a good example.  

Just something to keep in mind...

Thus spake Bas van der Vlies ([EMAIL PROTECTED]):
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.2nfs1-server
10.0.40.3nfs2-server
10.0.40.5nfs3-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=3149alloc_id=8166op=click
___
Sisuite-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

--
--
Brian Elliott Finley   Argonne, MCS Division 
Mobile: 630.631.6621   Office:  630.252.4742
gpg --keyserver wwwkeys.pgp.net --recv-keys 10F8EE52
--

---
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=3149alloc_id=8166op=click
___
Sisuite-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sisuite-users