Dan,
Thank you for the info! I should be able update
my zone create scripts with the info you supplied.
When I said below that sysidcfg wasn't working
right I meant that it works fine (it was asking me
all the right questions that I already gave it with
the script). I just was wondering how to stop the
questions being asked in the first place. Sorry I
wasn't clear about this.
I'll work on my scripts some more and see if I
can get the zone to boot without asking me any
questions.
As for the netservices problem, I was trying to
set up the zone guest so that I could rsh it without
a password. The "netservices open" was failing
and I could not log on to the guest without a passwd.
For testing purposes, we have servers that log onto
clients and run tests. Not having the guest ask for
a password, every time a server tries to log on, is
critical for our tests to function correctly. If you
know of another solution to this problem without
doing a slim_install on the zone client, please let
me know. I'll try the slim_install for now. Thank
you for your help!
Regards,
Paul Southerby
Dan Price wrote:
On Thu 07 May 2009 at 11:41AM, Paul Southerby wrote:
Hi,
I'm able to install an Opensolaris zone guest, but
the guest has about 99 pkgs as opposed to the
global zone that has about 849 pkgs.
Paul,
We've made a choice to have zones be minimized by default.
The 99 pkg zone guest almost works for me. However,
when I run "/usr/sbin/netservices open", I'm getting errors.
You can safely ignore those (or file them as bugs against
netservices). Netservices is trying to enable/disable optional
systems services without testing to see if they are there.
Anyone know what the missing pkgs are in order
to get netservices to run correctly? Or, is there a
way to easily add the missing 750 pkgs onto the zone
guest?
'pkg install slim_install' should give you a zone which matches
the contents of the livecd.
In (very) recent builds, you can do:
zoneadm -z myzone install -e slim_install
And that will do everything.
Also, when I boot up the zone client, I get a lot of network setup
questions. Is there a way to boot up the zone client without being
asked all these questions? I would much rather use a script to supply
all the needed data.
I already have a script, that supplies all the needed data, but there
seems to be some DOT file(?) that is in the zone client /root
directory that starts up the sysidcfg info gathering. Anyone know the
name of this DOT file so that I can remove it with my script?
It's /etc/.UNCONFIGURED
So are you following the procedure documented at
http://docs.sun.com/app/docs/doc/819-2450/z.login.task-1?a=view
? (search for "sysidcfg")
You might have to give us more specific details otherwise. If you're
saying that the sysidcfg file stuff isn't working right, that might be a
bug we need to address.
-dp
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss