Sun N1 System Manager 1.1 Administration 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.


Steps
  1. Log in to the N1 System Manager.

    See To Access the N1 System Manager Command Line 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
    

    The modified OS profile information appears in the output.


Example 3–8 Modifying an 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 and made available to the management server's /etc/sysconfig/network-scripts directory, the following script to configure the provisionable server's bge1 data network interface. This sample script will configure the bge1 port at system boot time by using the data network DHCP server.


DEVICE=bge1
BOOTPROTO=dhcp
ONBOOT=yes

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 
/etc/sysconfig/network-scripts/ifcfg-bge1 type post

The following example shows how to setup 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.