Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: May 2015

How to Create a Configuration Profile


Caution  - Note that all data required must be supplied. If you provide a profile with missing data, then the zone is configured with missing data. This configuration might prevent the user from logging in or getting the network running.

You must be the global administrator or a user with appropriate authorizations in the global zone to perform this procedure.

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .

  2. Create the profile using the sysconfig tool.
    • For an exclusive-IP zone
      # sysconfig create-profile -o /path/sysconf.xml
    • For a shared-IP zone:
      # sysconfig create-profile -o /path/sysconf.xml -g location,identity,naming_services,users
  3. Use the created profile during zone install, clone, or attach operations.
    # zoneadm -z my-zone install -c /path/sysconf.xml

    If the configuration file is used, the system will not start the System Configuration Interactive (SCI) Tool on the console at initial zlogin. The file argument must be specified with an absolute path.