For detailed instructions, see Creating Solaris Images and Profiles in Sun N1 Service Provisioning System User’s Guide for OS Provisioning Plug-In 3.1.
Log in as root (su - root) to the external OTP installation server.
Create the Solaris OS image import variable list.
Type the command
cr_cli -cmd cdb.vs.add -comp NM:/com/sun/n1osp/untyped/SolarisImage -name "image name" -u admin -p admin -vars "version=OS version;release=OS release;architecture=architecture;image_subnet_addr=image subnet adress;image_subnet_mask=subnet mask;media_src=media_source;ISO_files=OS ISO file name"
where:
image name is the name assigned to the imported Solaris OS image, for example s10u2.
OS version is the Solaris OS version number, for example 10.
OS release is the Solaris OS release, for example u2.
architecture is the platform architecture for the Solaris OS, for example sparc
image subnet adress is the IP address of the server on which the OS image is to be copied, for example 10.11.53.200.
subnet mask is the subnet mask IP address, for example 255.255.255.0.
media_source is the full path to the source Solaris OS image. This can be an NFS-mounted ISO image as described in To Download and Uncompress the OTP and Solaris OS Installation Zip Files
OS ISO file name is the name of Solaris OS ISO image, for example sol-10-u2-ga-sparc-dvd.iso
Import the Solaris OS image.
Type cr_cli -cmd pe.p.run -u admin -p admin -PID NM:/com/sun/n1osp/untyped/SolarisImage-import -tar H:NM:masterserver-jet -comp + -vs s10u2 -pto 300 -nto 100 where s10u2 is the name you assigned to the import image in the previous step.
Create the Solaris OS provisioning profile as described in the next step.