Sun N1 System Manager 1.3 Operating System Provisioning Guide

ProcedureTo Modify an OS Profile

This procedure describes how to modify the scripts, partitions, updates, and distribution groups that are configured for an OS profile.

Note –

An OS profile that is currently being deployed cannot be modified.

  1. Log in to the N1 System Manager.

    See To Access the N1 System Manager Command Line in Sun N1 System Manager 1.3 Discovery and Administration Guide for details.

  2. Modify an OS profile by performing one of the following actions:

  3. View the new OS profile details.

    N1-ok> show osprofile osprofile-name

    The modified OS profile information appears in the output.

Example 2–9 Modifying a Solaris 10 OS Profile Through the Command Line

This example shows how to use a flash archive and a post-installation script by modifying the solaris_ver10 OS profile.

For this example, assume that you have created the following script in a directory named /scripts on the management serverdirectory.

This sample script name is and the script adds a host to the /etc/hosts file on a managed server.

echo " myhost" >>/a/etc/hosts

Note that the root file system on the provisioned server is /a during the post installation time.

This example also assumes that you have created a flash archive file called archive1.flar and that you have completed the steps in To Copy a Flash Archive to the Management Server.

The following example shows how to add the script to the OS profile.

N1-ok> add osprofile solaris_ver10 script 
/scripts/ type post

The following example shows how to set up the OS profile to use the flash archive.

N1-ok> set osprofile solaris_ver10 flar /jumpstart/Flash/archive1.flar

See Also

To find out how to load the modified OS profile, see To Load an OS Profile on a Server or a Server Group.