Perform the following tasks before you create DHCP macros for your installation:
Add the clients that you want to install with DHCP as installation clients of your network installation server. For more information, see How to Add Systems to Be Installed From the Network With add_install_client.
Configure your DHCP server, if it has not already been configured. For more information, see Configuring and Unconfiguring a DHCP Server Using DHCP Manager in System Administration Guide: IP Services and Configuring and Unconfiguring a DHCP Server Using dhcpconfig Commands in System Administration Guide: IP Services.
Create the DHCP options that you want to use in your macro. See Creating DHCP Options and Macros for Solaris Installation Parameters.
On the DHCP server, become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
Start DHCP Manager.
# /usr/sadm/admin/bin/dhcpmgr & |
The DHCP Manager window is displayed.
Select the Macros tab.
Choose Create from the Edit menu.
The Create Macro dialog box opens.
Type the name of a macro.
Click the Select button.
The Select Option dialog box opens.
Select Vendor in the Category list.
The Vendor options that you created previously are listed.
Select an option that you want to add to the macro , and click OK.
Type a value for the option.
See Creating DHCP Options and Macros for Solaris Installation Parametersfor the option's data type and refer to the information that add_install_client -d reports.
Repeat Step 6 through Step 7 for each option you want to include.
To include another macro, type Include as the option name and type the macro name as the option value.
Click OK when the macro is complete.