When you create an OS distribution, a default OS profile is created automatically. Most likely, you will need to use the command line to customize the default profile for your specific hardware and configuration parameters. For information about modifying an existing OS profile, see To Modify an OS Profile.
This procedure describes how to create an OS profile from the command line interface. To create an OS profile from the browser interface, click the New button under the OS Profiles list on the Task Shortcuts pane of the System Dashboard.
You must make the OS distribution known to the management server before you can create a new OS profile.
To see a list of the available OS profiles, type the show osprofile all command at the N1–ok prompt.
To see a list of available profiles in the browser interface, click the Edit button under the OS Profiles list on the Task Shortcuts pane of the System Dashboard.
To create an OS profile, type the following command:
N1-ok> create osprofile osprofile-name os os-name rootpassword rootpassword fullname fullname organizationname organization-name productkey productkey [Optional-Windows-Attributes]
fullname is your full name, surrounded by quotation marks.
organizationame is the name of your organization, surrounded by quotation marks.
os is the name of the OS distribution to install.
osprofile is a name for the OS profile. The OS profile name must be unique and may include up to 100 numbers, letters, and some special symbols. The following special symbols are prohibited: comma, asterisk, single quote, double quote, parenthesis, question mark, equal sign, and newline.
productkey is the product key for each unique installation of Windows. To find the product key, look at the packaging for the operating system CD-ROM. The product key will look similar to this example: 11111-11111-11111-1111-11111
You can also set the product key through the load server or load group command when you install the OS onto a managed server.
rootpassword specifies the root password for the server to use after installation. If you do not want the password to display in the command line, type a question mark (?). The software prompts you to enter the password after you issue the command.
Optional-Windows-Attributes provide several additional features that enable you to specify a variety of Windows-specific details, such as language, time zone, license information, and scripts to run when you first login to the system. For more information about Windows attributes, see the “OPTIONAL WINDOWS ATTRIBUTES” section in create osprofile in Sun N1 System Manager 1.3 Command Line Reference Manual.
The following command creates an OS profile for a Windows 2003 Enterprise Edition distribution and prompts the user to enter the password.
N1-ok> create osprofile win2003EE os win2003EE rootpassword ? fullname "IamMe" organizationname "MyOrgPlace" productkey productkey description "win2003EE" licensingmode "perseat" licenseperserver 1 repartition true wtsallowconnection false wtsenable true wtslicensingmode perseat wtspermissionssetting all rootpassword:
Once the create osprofile command completes, the following command shows details about the OS profile:
N1-ok> show osprofile win2003EE ID: 3 Name: win2003EE Distribution: win2003EE Description: win2003EE In Use: false User's Full Name: Organization Name: Language: Timezone: Language Group: Firstloginscript: repartition: true targetpath: Windows oem driver path: Windows Licensing Mode: PerSeat Licenses Per Server: 1 Terminal Server Enable: true Terminal Server Allow connections: false Terminal Server Licensing mode: PerSeat Terminal Server Permissions Setting: All N1-ok>