To create a variable set for the Target component, type a command similar to the following example:
# cr_cli -cmd cdb.vs.add -comp NM:/com/sun/n1osp/targets/Target -name "mysystem" \ -u admin -p admin -vars "installPath=Generic;target_host=:[installPath]-target; \ description=Test description;ethernet_mac_address=00:0E:7F:FD:85:26; \ ethernet_ip_address=10.42.42.20;ethernet_netmask=255.255.255.0;architecture=x86; \ kernel_arch=i86pc;disk_size=20GB" |
For more information about the variables, see Generic Target Host Variables.
To run the plan and create the target host, type a command similar to the following example:
# cr_cli -cmd pe.p.run -u admin -p admin -PID \ NM:/com/sun/n1osp/targets/Target-create -tar H:NM:masterserver-osp -comp + \ -vs mysystem -pto 30 -nto 10 |