Sun N1 Service Provisioning System ユーザーズガイドおよびリリースノート (OS Provisioning Plug-In 2.0)

ProcedureWindows プロビジョニングプロファイルを作成する (コマンド行インタフェース)

手順
  1. WindowsProfile コンポーネントの変数セットを作成するには、次の例のようなコマンドを入力します。


    # 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=testlinux; \
    min_disk_size=10GB;monitor_install=FALSE;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"
    

    これらの変数の詳細については、「Windows プロビジョニングプロファイルの変数」を参照してください。

  2. プランを実行するには、次の例のようなコマンドを入力します。


     # cr_cli -cmd pe.p.run -u admin -p admin -PID NM:/com/sun/n1osp/untyped/LinuxImage-attach \
    -tar H:NM:bikickstart-linux -comp + -vs redhat3 -pto 30 -nto 10