Re: [zones-discuss] Changing a zone's inherit-pkg-dir

2007-02-06 Thread Jerry Jelinek

Matt Cohen wrote:

Hi.

We have a zone currently setup on one of our Solaris 10 servers, but it wasn't 
configured quite properly.

Is there a way to go back and add an inherited dir to a zone that's already 
configured and has been running for a couple of weeks?


You are not allowed to change the inherit-pkg-dir settings after
the zone is installed.  However, depending on your configuration
and what you need, you might be able to use lofs mounts to set
things up the way you need.  You can modify the fs resources
for the zone at any time.

Jerry
___
zones-discuss mailing list
zones-discuss@opensolaris.org


[zones-discuss] Changing a zone's inherit-pkg-dir

2007-02-05 Thread Matt Cohen
Hi.

We have a zone currently setup on one of our Solaris 10 servers, but it wasn't 
configured quite properly.

Is there a way to go back and add an inherited dir to a zone that's already 
configured and has been running for a couple of weeks?

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


Re: [zones-discuss] Changing a zone's inherit-pkg-dir

2007-02-05 Thread Amol Chiplunkar


To my knowledge, the inherit-pkg-dir resource cannot be changed
after the zone has been installed.

If you want to use binaries placed in those dirs, you may want to
use the fs resource of zonecfg.
Say absolute-path is the dir you wanted to inherit.

zonecfg -z zone
zonecfg add fs
zonecfg:fs set dir=absolute-path
zonecfg:fs set special=absolute-path
zonecfg:fs set type=lofs
zonecfg:fs end

and reboot the zone. You can use absolute-path
from within the non global zone now.

thanks
- Amol

Matt Cohen wrote:

Hi.

We have a zone currently setup on one of our Solaris 10 servers, but it wasn't 
configured quite properly.

Is there a way to go back and add an inherited dir to a zone that's already 
configured and has been running for a couple of weeks?

Thanks
 
 
This message posted from opensolaris.org

___
zones-discuss mailing list
zones-discuss@opensolaris.org



--
--
 Amol Chiplunkar Sun Microsystems

___
zones-discuss mailing list
zones-discuss@opensolaris.org