Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

flarcreate question (/etc/hosts missing)

Status
Not open for further replies.

hcclnoodles

IS-IT--Management
Jun 3, 2004
123
GB
Hi there

I have created a flash archive using flarcreate and rolled out via jumpstart and everything seems fine, however when I roll out the archive to another box, everything is fine apart from the /etc/hosts file which is the same as the masters hosts file (i.e. it still has the original hostname and IP for the
master) and as such the network interface doesn't come up

The strange thing is, the following files have been set with the new hostname successfully ....its just the /etc/hosts file that hasn't changed

/etc/hostname
/etc/hostname.hme0
/etc/net/ticlts/hosts
/etc/net/ticotssord/hosts
/etc/net/ticots/hosts

This obviously has the effect of the cloned box trying to come up with the masters IP and hostname, but failing to do so because the above files were correctly populated with the hostname given by jumpstart

The command I used to create the archive was

Flarcreate -n "Solaris 8 build" -c /data/archive.flar

I did actually have this working fine a while back, but I lost the complete flarcreate command I used.Is there anything glaringly obvious that is casing the /etc/hosts file to remain

Any help would be greatly appreciated
Gary
 
Gary,

I've never performed a flash installation before but off the top of my head - did you run add_install_client to point to the sysidcfg file when jumpstarting?
 
I a similar problem similar to yours except it would not put the hostname or ip in the hosts file. I had to add a "ypcat hosts |grep hostname >> /a/etc/hosts" to my finish script to get around this.

This is the flarcreate command I use also (Solaris 8):

Code:
flarcreate -c -S -n "Archive Name" -e "Description" -a "Creator Name" -m master -x /var/audit /file/location.flar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top