Sun N1 Service Provisioning System User's Guide and Release Notes for the OS Provisioning Plug-In 2.0

ProcedureHow to Create a Solaris Provisioning Profile (Command-Line Interface)

Steps
  1. To create a variable set for the SolarisImage component, type a command similar to the following example:


    # cr_cli -cmd cdb.vs.add -comp NM:/com/sun/n1osp/untyped/SolarisImage \
    -name "solaris9" -u admin -p admin -vars "version=9;release=u7;architecture=sparc; \
    image_path=/export/install/Solaris9product;image_subnet_addr=10.42.42.2; \
    image_subnet_mask=255.255.255.0;media_src="
    
  2. To provide JET module information, create a file /tmp/solaris-image that contains the following entries:

    standard
    Standard Solaris
    base_config spsra

    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.

  3. To run the plan, type a command similar to the following example:


    # cat /tmp/solaris-image|cr_cli -cmd pe.p.run -u admin -p admin
    -PID NM:/com/sun/n1osp/untyped/SolarisImage-create-profile
    -tar H:NM:biss1-jet -comp - -vs solaris9 -pto 30 -nto 10