[csw-users] installing packages in global zone, not in local?

Dennis Clarke dclarke at blastwave.org
Fri Nov 24 17:29:55 CET 2006


> On ven 24 novembre, Gérard Henry wrote:
>> hello all,
>>
>> i have several zones on a machine. In global zone, when i install a
>> package, it is installed in others zones
>> is there a switch as:
>> pkg-get -G -i evince
>> to install it in one zone?

I think the answer you are looking for here is :

zlogin -C -e\@ zonename

then once in that zone and that zone only !

/opt/csw/bin/pkg-get -U

/opt/csw/bin/pkg-get -i foo

keep in mind that if you want separate package revisions in separate zones
then you should not be sharing /opt/csw across all your zones.  Make that
zones filesystems specific to itself and you will be fine.

Dennis




More information about the users mailing list