How to install something only in global zones with pkgutil?
Anil
anil.dawkins at digicelgroup.com
Mon Mar 24 18:05:36 CET 2014
Peter Bonivart <bonivart at ...> writes:
>
> On Mon, Feb 3, 2014 at 11:15 AM, Alexander Winkler
> <work at ...> wrote:
> > Hello,
> > I want to install some packages on my Solaris 10 hostsystems, but these
> > packages should not be installed in the non-global zones. While pkgadd
> > provides the "-G" switch, I was not able to find something similar for
> > pkgutil.
> > Do you have any proposal for this case?
>
> pkgutil supports passing through options to pkgadd, take a look in
> /etc/opt/csw/pkgutil.conf.
>
> /peter
>
>
--------------------------------------------------------------
Hello I uncommented the line and it still does not work is there anything
special that i might need to do. i am using pkgutil 2.6.6
# Options to use for pkgadd
# You can set it to -S to skip displaying the license during install.
# Solaris 10: If you wish to limit pkgutil to installing packages
# only to the global zone, set it to -G. Note that pkgrm
# does not have the same option.
# WARNING: do not modify this unless you know what you're doing.
# Default: blank
pkgaddopts=-G -S
root at xxxxzonesvr05 # /opt/csw/bin/pkgutil -t
http://server1/opencsw/unstable/ -i puppet3 -G
Unknown option: G
pkgutil 2.6.6, install Solaris packages the easy way.
Usage: pkgutil [option]... [package](-[version])...
------------------------------------------------------------------------
More information about the users
mailing list