Sun Management Center 4.0 Installation and Configuration Guide

ProcedureTo Create the JumpStart Rules File

  1. Log in as root on the machine where you created the JumpStart profile directory.

  2. Go to the JumpStart profile directory that you created in Step 2, in To Create the JumpStart Install Server and Profile Directory.

  3. Create the JumpStart rules file.

    Use the following example rules file as a template, and create the rules file in the JumpStart profile directory.


Example 6–7 Sample Rules File

#
# rule keywords and rule values   begin script   profile    finish  script 
# ------------------------------  ------------   -------    --------------
  
# This rule matches one system: 
#
hostname bootserver01            -         basic_prof  base_agent_finish.sh 
 
 
# This is a complex rule:
#
network 192.43.34.0 && ! model \ 
 SUNW,SPARCstation-20                 -         net_prof         - 
 
 
# This rule applies to all 
# SUNW,SPARCstation-LX:
#
model SUNW,SPARCstation-LX            -         lx_prof     complete.sh
 
 
# Another complex rule:
#
network 193.144.2.0 && karch i86pc   init.sh    IA_prof     done.sh
 
#
# You can use system attributes like RAM size and architecture to 
# classify targets:
#
memsize 16-32 && arch i386           -          prog_prof        -
 
 
# rules are matched top-down. If nothing matches, this rule will apply:
#
any                  -               -         generic_prof     -