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=test linux;min_disk_size=10GB; \ 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 provide JET module information, create a file /tmp/redhat-profile that contains the following entries:
standard-nojet Standard Linux base_config false
Where:
The first line in the file corresponds to the Profile Name field in the plan variables section of the browser interface.
The second line in the file corresponds to the Profile Description field in the plan variables section of the browser interface.
The third line in the file corresponds to the JET Module Name field in the plan variables section of the browser interface.
The fourth line in the file corresponds to the Use the Jet Modules Specified Above checkbox in the plan variables section of the browser interface.
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 -f /tmp/redhat-profile |
Note the default N1 SPS user value you specified with the -u option. This user must exist after the OS installation for the N1 SPS Remote Agent software to start on the target host.