How to Preview the Effect of a Live Zone Configuration

Perform this procedure to review the live zone configuration changes that would be made, before you make a final commitment of those changes.

  1. On the kernel zone host, become an administrator.
  2. Start the zonecfg utility in live mode and configure the desired zone changes.
    global$ pfbash zonecfg -z kzone -r
    zonecfg:kzone> Make zone configuration changes
  3. View the actions that would be performed by the reconfiguration.

    The ‐n option prevents actual commitment of the zone changes.

    zonecfg:kzone> commit -n
                   

To make the previewed changes to the live zone configuration, issue the zonecfg commit command without using the ‐n option.