Jeff Victor wrote:
Is it possible to add an inherit-pkg-dir to a zone's config after "zoneadm ... install"? I'm confident the answer is 'no' but just had to ask.


The man page and docs.sun.com are a little vague on this. They both say "Such resources [those pkgs] are not modifiable or removable once a zone has been installed with zoneadm." But if you interpret "such resources" as "the ones that have already been inherited" then the possibility of adding new ones is not mentioned.

Jeff,

The code currently disallows this.  See add_resource() in
usr/src/cmd/zonecfg/zonecfg.c.

http://cvs.opensolaris.org/source/xref/on/usr/src/cmd/zonecfg/zonecfg.c
currently at line 1587.

Jerry
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org
  • [zones-discus... Jeff Victor
    • Re: [zon... Jerry Jelinek
      • Re: ... Enda o'Connor - Sun Microsystems Ireland - Software Engineer
        • ... Jeff Victor
          • ... Jerry Jelinek
          • ... Enda o'Connor - Sun Microsystems Ireland - Software Engineer
            • ... Paul Kraus
              • ... Enda o'Connor - Sun Microsystems Ireland - Software Engineer

Reply via email to