Sun N1 Service Provisioning System User's Guide for OS Provisioning Plug-In 3.0

ProcedureHow to Create a JET SuSe Linux Provisioning Profile (Command-Line Interface)

Steps
  1. 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/SuseLinuxImage \
    -name "SLES9" -u admin -p admin -vars "osp_server=masterserver-osp;version=9; \
    architecture=x86;installPath=SuSeLinux:[version]_:[architecture]; \
    description=SUSE SLES9;min_disk_size=10GB; \
    boot_server_name=biautoyast;boot_server_subnet_address=10.42.42.0; \
    boot_server_subnet_ip_address=10.42.42.3; \
    distro_root_directory=nfs://10.42.42.3/export/SUSE/SLES-9-x86-64/installroot;\
    pxe_boot_file=;pxe_configuration_file=; \
    autoyast_file=;kernel=boot/loader/linux;initrd=boot/loader/initrd"
    
  2. 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/SuSeLinuxImage-create-profile \
    -tar H:NM:bilinux-linux -comp - -vs SLES9 -pto 30 -nto 10 \
    -f /tmp/suse-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.