System Administration Guide: Oracle Solaris Containers-Resource Management and Oracle Solaris Zones

SUNW_PKG_THISZONE Package Parameter

The SUNW_PKG_THISZONE package parameter defines whether a package must be installed in the current zone, global or non-global, only. The SUNW_PKG_THISZONE package parameter has two permissible values. These values are true and false. The default value is false.

The SUNW_PKG_THISZONE package parameter values are described in the following table.

Table 25–4 SUNW_PKG_THISZONE Package Parameter Values

Value 

Description 

false

  • If pkgadd is run in a non-global zone, the package is installed in the current zone only.

  • If pkgadd is run in the global zone, the package is installed in the global zone and also installed in all currently installed non-global zones. In addition, the package will be propagated to all future, newly installed non-global zones.

true

  • The package is installed in the current zone only.

  • If installed in the global zone, the package is not added to any currently existing or yet-to-be-created non-global zones. This is the same behavior that occurs when the -G option is specified to pkgadd.