Flarcreate question (/etc/hosts missing)


 
Thread Tools Search this Thread
Operating Systems Solaris Flarcreate question (/etc/hosts missing)
# 1  
Old 02-06-2007
Flarcreate question (/etc/hosts missing)

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
# 2  
Old 02-06-2007
hmm, never had that problem, the flash installation should invoke a "sys-unconfig" during the installation. i am using the following "flarcreate" command:

# flarcreate -n pressy.flar -R / -c -a pressy -x /flardirectory /flardirectory/pressy.flar

you could try to invoke the "sys-unconfig" by yourself, see what happens....

once, i had a very confusing issue, when the host was configured in the jumpstart, solaris always took the name mentioned in the jumpstart config during the boot, not the one i've configured...

regards pressy
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

How to copy a tar file on a series of remote hosts and untar it on those hosts?

Am trying to copy a tar file onto a series of remote hosts and untar it at the destination. Need to do this without having to do multiple ssh. Actions to perform within a single ssh session via shell script - copy a file - untar at destination (remote host) OS : Linux RHEL6 (3 Replies)
Discussion started by: sankasu
3 Replies

2. IP Networking

Newbie BIND DNS question: resolving upstream hosts?

Old skool UNIX and Linux geek here, but newbie to the world of DNS and bind. I've recently been tasked with replacing our DNS infrastructure, currently on Windows, with a RHEL based solution. And I assume that means using bind, which I've not used before. Here's my question: Suppose our company... (3 Replies)
Discussion started by: lupin..the..3rd
3 Replies

3. AIX

aix tcp wrappers hosts.allow hosts.deny?

hi all just installed the netsec.options.tcpwrapper from expansion pack, which used to be a rpm, for my aix 6.1 test box. it is so unpredictable. i set up the hosts.deny as suggested for all and allow the sshd for specific ip addresses/hostnames. the tcpdchk says the hosts allowed and... (0 Replies)
Discussion started by: wf201626
0 Replies

4. Solaris

Cloning with flarcreate .... and back

Hello Forum, I'd like to clone a Solaris 10 System. Well, I read a lot about flarcreate. Anyway I only read how to _create a flash archive by using flarcreate. But I don't know how to copy the data back to another harddisk from an ar:confused:chive to get a second runing system. ... (4 Replies)
Discussion started by: borsti007
4 Replies

5. Solaris

flarcreate help.

Hi, I have to clone a system and i would like to use flarcreate. My question is regarding excluding some NFS mounts and some directories under /. If somebody have done this earlier please advice on the following procedure. Create a file like /exclude_list and put the following lines in it ... (1 Reply)
Discussion started by: uxadmin007
1 Replies

6. Solaris

UFS filesystem mounted on 2 hosts question

I have two Unix (Solaris) hosts that are both attached to our SAN. They are both presented with the same luns. What I want to do is have the same UFS filesystem mounted on both hosts at the same time. What I am trying to accomplish is creating a zone that will reside on both hosts but only... (2 Replies)
Discussion started by: beaker457
2 Replies

7. Solaris

/etc/inet/hosts modification question

HI, IF i modify /etc/inet/hosts file, do I need to reboot the box? (1 Reply)
Discussion started by: mokkan
1 Replies

8. Solaris

System copy with flarcreate

Hi, i'm trying to make a system copy from one server to another (solaris 9), they have the same configuration. I've tried to create a flash archive using the flarcreate but the flash file size is 5.06 approx. and the method the flarcreate is using is CPIO and he cannot handle sizes over 4 GB. Is... (2 Replies)
Discussion started by: pasalagua
2 Replies

9. Solaris

flarcreate

found my notes got it flarcreate -n jumpstart -x /jumpstart/flash /jumpstart/flash/jumpstart.flar i think this will omit that directory and save it there correct? (3 Replies)
Discussion started by: deaconf19
3 Replies

10. UNIX for Dummies Questions & Answers

hosts.allow & hosts.deny

Hi! Im trying to use host.allow & host.deny to resrtic access to my sun machine, but it doesnt seem to work... I want to allow full access from certain IPīs (ssh,http,ftp,etc...) but deny all kind of conections from outsideworld, the way that im doing that is: hosts.allow ALL:127.0.0.1... (2 Replies)
Discussion started by: Sorrento
2 Replies
Login or Register to Ask a Question