This procedure describes how to modify the scripts, partitions, updates, and distribution groups that are configured for an OS profile.
An OS profile that is currently being deployed cannot be modified.
Log in to the N1 System Manager.
See To Access the N1 System Manager Command Line for details.
Modify an OS profile by performing one of the following actions:
Add new OS profile attributes.
N1-ok> add osprofile osprofile [configuration-attributes] |
See add osprofile in Sun N1 System Manager 1.1 Command Line Reference Manual for details.
Remove existing OS profile attributes.
N1-ok> remove osprofile osprofile [configuration-attributes] |
See remove osprofile in Sun N1 System Manager 1.1 Command Line Reference Manual for details.
Change existing OS profile parameters.
N1-ok> set osprofile osprofile [configuration-attributes] |
See set osprofile in Sun N1 System Manager 1.1 Command Line Reference Manual for details.
View the new OS profile details.
N1-ok> show osprofile osprofile |
The modified OS profile information appears in the output.
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 |
To find out how to load the modified OS profile, see To Load an OS Profile on a Server or a Server Group.