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

Reply via email to