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 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.