Go to main content

Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: April 2019
 
 

How to Create a Configuration Profile


Caution

Caution  -  You must supply all required data. 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.


  1. Assume the root role.

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

  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.