Sun Management Center 4.0 설치 및 구성 설명서

ProcedureJumpStart 규칙 파일 만들기

  1. JumpStart 프로필 디렉토리를 만든 시스템에 루트로 로그인합니다.

  2. JumpStart 설치 서버 및 프로필 디렉토리 만들기단계 2에서 만든 JumpStart 프로필 디렉토리로 이동합니다.

  3. JumpStart 규칙 파일을 만듭니다.

    다음 예제 규칙 파일을 템플릿으로 사용하거나, JumpStart 프로필 디렉토리에 규칙 파일을 만듭니다.


예 6–7 샘플 규칙 파일

#
# 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     -