Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: May 2015

About Making Changes to the Configuration

Use the zonecfg command edit modes to make configuration changes to the zone. You can change either the persistent stored configuration or the running live configuration. The zonecfg command supports the following the edit modes for use with Live Reconfiguration:

Default mode

Create, modify, and list the persistent zone configuration stored on the stable storage. Parameters changed in the default edit mode do not affect a running zone at the time the changes are made. The default edit mode is the primary way to maintain the zone configuration. This mode is backward compatible. The zone must be reconfigured by one of the following methods for the changes to take effect:

  • zoneadm apply

  • zoneadm reboot

Live mode

Retrieve, inspect and edit the running live configuration. The live mode is available for a running zone only. Parameters changed in the live mode take effect immediately after they are committed. Applied changes remain active until the next zone reboot. The live mode is enabled by the –r option, which is used to retrieve and to edit the live configuration instead of the persistent configuration.

# zonecfg -z zonename -r