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.

- Amol

Matt Cohen wrote:

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?

This message posted from
zones-discuss mailing list

 Amol Chiplunkar     Sun Microsystems

zones-discuss mailing list

Reply via email to