OpenSolaris Automated Installer Guide
Previous Next

How to Create Custom SC Manifest Files

The SC manifest file provides system configuration specifications for the installed system. You can customize the configuration settings by editing the variable after value= for each of the properties. Below is a complete SC manifest file. Just copy this file and make changes to the attributes to edit the user/password, root password, and timezone fields.

Modifying the 2009.06 SC Manifest

For the OpenSolaris 2009.06 release, encrypted passwords are used in the manifest. In the example below, the encrypted user password is “jack”, and the root password is “opensolaris”.

Note - One method of generating encrypted passwords for the OpenSolaris OS is to create a user of the intended name and password on the OpenSolaris OS, copy the password from the /etc/shadow file between the 1st and 2nd colons of the user's record, and add that information into the 'userpass' or 'rootpass' values in the manifest.

In the following SC manifest example, you could change the user name from “jack” to “mike” in the username property.

<?xml version='1.0'?>
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
<service_bundle type='profile' name='name'>
    <service name='ai_properties' version='1' type='service'>
        <instance name='default' enabled='false'>
             <property_group name='ai' type='application'>
                 <propval name='username' type='astring' value='jack' />
                 <propval name='description' type='astring' value='default user' />
                 <propval name='userpass' type='astring' value='9Nd/cwBcNWFZg' />
                 <propval name='rootpass' type='astring' \
value='$5$VgppCOxA$ycFmYW4ObRRHhtsGEygDdexk5bugqgSiaSR9niNCouC' />
                 <propval name='timezone' type='astring' value='US/Pacific' />
                 <propval name='hostname' type='astring' value='opensolaris' />
Previous Next