To create a variable set for the WindowsProfile component, type a command similar to the following example:
# cr_cli -cmd cdb.vs.add -comp NM:/com/sun/n1osp/untyped/WindowsImage \ -name "windows2003" -u admin -p admin -vars "osp_server=masterserver-osp;version=2003; \ os_name="WIN2003_trial";description=test windows image 2003;min_disk_size=10GB; \ boot_server_name=biw1;boot_server_subnet_address=10.42.42.0; \ boot_server_subnet_ip_address=10.42.42.4;boot_srv_active_directory_domain=n1isp.sfbay.sun.com; \ windows_product_directory=D:\\\\RemoteInstall\\\\Setup\\\\English\\\\Images\\\\Win2003_trial; \ sif_file=D:\\\\RemoteInstall\\\\Setup\\\\English\\\\Images\\\\Win2003_trial\\\\i386\\\\templates\\\\ Ispristndrd.sif" |
The windows_product_directory should be included all on one line. For display purposes, this entry appears on three separate lines.
For more information about the variables, see Windows Provisioning Profile Variables.
Create a file named /tmp/windows-profile with the following entries.
noncustom Windows 2003 EE x86 Profile false |
The entries in this file correspond to the following plan variables.
noncustom specifies the Profile Name.
Windows 2003 EE x86 Profile specifies the Profile Description.
false specifies that this plan will not use a custom profile.
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/WindowsImage-create-profile \ -tar H:NM:risserver-windows -comp + -vs windows2003 -pto 30 -nto 1 -f /tmp/windows-profile0 |