That is correct. With the parms you specified, zonemgr will ask
you if you are sure <yes|no>. To automatically answer yes, add
On Wed, 2007-01-31 at 17:04 -0600, Tim Cook wrote:
> Nice. So to clarify, after a zone is already added, from the global
> zone I can do:
> zonemgr -a modify -n zone1 -G blastwavepkg?
> Also, am I to assume zonemgr defaults to sparse zone as I don't see a -t
> s in their. And that if I were to do a -t w, it would be a whole root
> zone vs. the sparse?
> Tim Cook
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 31, 2007 4:46 PM
> To: Jerry Jelinek
> Cc: Tim Cook; [EMAIL PROTECTED]; John Clingan;
> Subject: Re: [zones-discuss] New zone, sysidtool:net isn't starting
> I recommend that you restrict blastwave bits to the non-global zone.
> That way you cannot end up with package conflicts between the global
> zone and non-global zones or between non-global zones.
> I have made installing Blastwave packages really easy for you via
> the zonemgr with the "-G <blastwave_pkg>" option. Note that this
> works for sparse and whole root zones.
> For example the following invocation of zonemgr will
> 1. Create a sparse (standard inheritied directories) zone
> 2. named mysql
> 3. in /zones/mysql
> 4. with IP address 192.168.0.10
> 5. on nic hme0
> 6. with CIDR netmask of /24
> 7. and add host record for host name mysql
> 8. Inherit the resolution config from the global zone
> 9. and Install pkg-get, mysql5, apache2, and all
> requisite bits from blastwave.
> zonemgr -a add -n mysql -z /zones -P abc123 \
> -C /etc/resolv.conf -C /etc/nsswitch.conf \
> -I "192.168.0.10|hme0|24|mysql" -G mysql5 -G apache2
> Note that copying resolv.conf and nsswitch.conf may not
> be necessary depending on your global and non-global
> configs. This is just what I do on my test system.
> More info available at the Zone Manager site:
> Hope that helps!
> On Wed, 2007-01-31 at 10:32 -0700, Jerry Jelinek wrote:
> > Tim Cook wrote:
> > > So what about /opt/csw, is there anyway to prevent the zones from
> > > linking to it? I know you can't remove it from the inherit-pkg-dir
> > > because it says it's invalid. It's been somewhat a pain to use
> > > (blastwave) with zones because of it.
> > I don't think I understand what your configuration is.
> > Do you have the 4 standard inherited directories (which doesn't
> > include /opt)? Or are you saying you inherit /opt but want
> > a private /opt/csw?
> > If it is the first one, then /opt is not inherited by
> > default which is why you get an error when you try to remove it.
> > If it is the second one, then there are various ways you can
> > inherit directories from the global zone but still have private
> > subdirectories. The easiest is described in the FAQ here:
> > http://opensolaris.org/os/community/zones/faq/#cfg_io_usrlocal
> > for /usr/local but it works just as well for other paths.
> > If I misunderstood what your question is, please let us know.
> > Thanks,
> > Jerry
> > _______________________________________________
> > zones-discuss mailing list
> > email@example.com
zones-discuss mailing list