You can use them only if you edit the startup scripts. When you have created the options, you can create macros that include those options. The following table lists sample macros you can create to support Solaris installation for clients. BootSrvA option could be added to existing network address macros. The value of BootSrvA should indicate the tftboot server.
The macro names that are listed in the previous table match the Vendor client classes of the clients that must install from the network. These names are examples of clients you might have on your network. Write a script that creates the options and macros by using the dhtadm command.
See Writing a Script That Uses dhtadm to Create Options and Macros for information bout how to write scripts that create these options and macros. You can create a Korn shell script by adapting the example in Example 7—13 to create all the options listed in Table 7—4 and some useful macros. Be sure to change all IP addresses and values contained in quotes to the correct IP addresses, server names, and paths for your network. As superuser, execute dhtadm in batch mode. Specify the name of the script to add the options and macros to your dhcptab.
For example, if your script is named netinstalloptions , type the following command. For more information about how to use the dhtadm command, see dhtadm 1M. For more information about the dhcptab file, see dhcptab 4. You can create these options and macros by using the following methods. Be sure to change all IP addresses and values contained in quotes to the correct IP addresses, server names, and paths for your network. Load the Solaris vendor specific options.
We'll start out supporting the Ultra-1, Ultra, and i86 platforms. Changing -A to -M would replace the current values, rather than add them. Ultra-1 SUNW. Ultra SUNW. Includes Solaris and sparc macros. All clients identifying themselves as members of this class will see these parameters in the macro called SUNW. Ultra-1" class. By default, we boot these machines in 32bit mode.
All clients identifying themselves as members of this class will see these parameters. Ultra" class. You can create a Korn shell script by adapting the example below to create all the options listed in Table and some useful macros. Be sure to change all IP addresses and values contained in quotes to the correct IP addresses, server names, and paths for your network.
Execute the script as superuser to add the options and macros to your dhcptab. See Figure and Figure for illustrations of the dialog boxes you use to create options and macros. Ultra-1, SUNW. Ultra, SUNW. Writing a Script That Uses dhtadm to Create Options and Macros You can create a Korn shell script by adapting the example below to create all the options listed in Table and some useful macros.
We'll start out supporting the Ultra-1, Ultra, and i86 platforms. Changing -A to -M would replace the current values, rather than add them. Ultra-1 SUNW. Ultra SUNW.
0コメント