Re: [zones-discuss] [pkg-discuss] OpenSolaris zones - pkg and sysidcfg questions

2009-06-16 Thread Ruediger Merz
Hi Daniel,

I try a similar configuration. I read the link 
(http://docs.sun.com/app/docs/doc/819-2450/z.login.task-1?a=view) you posted. 
But I can not figure out where I can get a root password for the sysidcfg. The 
standard /etc/shadow password is to long.

Also, it took me quite some time before I found out, that I first have to 
'detach' the zone before I can copy anything in there.  Perhaps I am wrong here 
and there is an easier/better way. But when the zone is not booted the zones 
root path is empty (not mounted). 

Thanks for your help,

Rudy
-- 
This message posted from opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] [pkg-discuss] OpenSolaris zones - pkg and sysidcfg questions

2009-05-07 Thread Dan Price
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

-- 
Daniel Price, Solaris Kernel Engineeringhttp://blogs.sun.com/dp
___
zones-discuss mailing list
zones-discuss@opensolaris.org