Make sure the Linux image server exists and that the Linux operating system software is available to that server. For more information about creating the Linux image server, see Setting up the Linux Server.
In the Common Tasks section of the provisioning software page, select OS Provisioning.
On the OS Provisioning Common Tasks page, click Create Profile in the Linux Images section.
On the Plans Details page, click Run.
Choose variables to use for this plan.
On the Plan Details Run page, select the Linux image server on which to create the profile.
The host name of the Linux image server ends in -linux.
Click Run Plan (includes preflight).
To verify that the Linux profile is created to the Linux image server, click Components in the left pane of the N1 SPS browser interface.
You should find a provision component in the folder /com/sun/n1osp/autogen-server-name-linux/provision/, where server-name is the Linux server name that you provided in the variable set. For example: /com/sun/n1osp/autogen-LinuxRedHat3.0_x86-linux/provision/.
To create a variable set for the LinuxImage component, type a command similar to the following example:
# cr_cli -cmd cdb.vs.add -comp NM:/com/sun/n1osp/untyped/LinuxImage \ -name "redhat3" -u admin -p admin -vars "osp_server=masterserver-osp;version=RedHat3.0; \ architecture=x86;installPath=Linux:[version]_:[architecture]; \ description=testlinux;min_disk_size=10GB;monitor_install=FALSE; \ boot_server_name=bikickstart;boot_server_subnet_address=10.42.42.0; \ boot_server_subnet_ip_address=10.42.42.3;kickstart_file=/export/el30.cfg;\ pxe_boot_file=linux-install/pxelinux.0;pxe_configuration_file=el30-console" |
To run the plan, type a command similar to the following example:
# cr_cli -cmd pe.p.run -u admin -p admin \ -PID NM:/com/sun/n1osp/untyped/LinuxImage-create-profile \ -tar H:NM:bikickstart-linux -comp + -vs redhat3 -pto 30 -nto 10 |