A rule must contain at least a:
Keyword, a value, and a corresponding profile
Minus sign (-) in the begin and finish fields if there is no entry
A rule within a rules file must adhere to the following syntax:
[[!]]rule_keyword rule_value [[&& [[!]]rule_keyword rule_value]] ... begin profile finish |
Element |
Description |
---|---|
Is a symbol used before a keyword to indicate negation. |
|
Is a predefined lexical unit or word that describes a general system attribute, such as host name (hostname) or memory size (memsize). It is used with the rule value to match a system with the same attribute to a profile. See Table 18–3 for the list of rule keywords. |
|
Is a value that provides the specific system attribute for the corresponding rule keyword. Rule values are described in Table 18–3. |
|
Is a symbol you must use to join rule keyword and rule value pairs together in the same rule (a logical AND). During a custom JumpStart installation, a system must match every pair in the rule before the rule matches. |
|
Is the name of an optional Bourne shell script that can be executed before the installation begins. If no begin script exists, you must enter a minus sign (-) in this field. All begin scripts must be located in the JumpStart directory. Information about how to create begin scripts is presented in Creating Begin Scripts. |
|
Is the name of a text file that defines how the Solaris software is to be installed on the system when a system matches the rule. The information in a profile consists of profile keywords and their corresponding profile values. All profiles must be located in the JumpStart directory. Note – Optional ways to use the profile field are described in Using a Site-Specific Installation Program and Creating Derived Profiles With a Begin Script. |
|
Is the name of an optional Bourne shell script that can be executed after the installation completes. If no finish script exists, you must enter a minus sign (-) in this field. All finish scripts must be located in the JumpStart directory. Information about how to create finish scripts is presented in Creating Finish Scripts. |