Friday, August 24, 2012

Custom JumpStart sysid

Assume that the setup is according to Custom JumpStart framework installation.
Another important part of Custom JumpStart are the system identification (sysidcfg) files.
The system identification files contributes to a fully automated installation.
 
Each client requires a dedicated system identification subdirectory of /config.
Inside each subdirectory create a sysidcfg file for the client.
  
# mkdir /config/X86-client-1
  
The syntax of the sysidcfg file is well documented at sysidcfg(4) or at OTN.
Here's a sample of it:
 
# cat /config/client-1/sysidcfg
# The value can be any from /usr/share/lib/terminfo/*
terminal=vt100

# The value can be any from /usr/share/lib/keytables/type_6/kbd_layouts
keyboard=US-English 

# The value can be any from /usr/lib/locale
system_locale=C

# The value can be any from /usr/share/lib/zoneinfo
timezone=US/Eastern

# The system time setup
# Assume the clock is correct (NTP should be set later)
timeserver=localhost
  
# The network services secure-by-default option
# Except for SSH, disable or constrain all network services
service_profile=limited_net
  
# The possible values are:
#        NONE : traditional Unix way
#    kerberos : recommended if such infra-structure is available
security_policy=NONE
  
# The NFSv4 domain is dynamically derived from DNS
nfs4_domain=dynamic
  
# The desired initial root password hash taken from an /etc/shadow
root_password=...
 
# The basic networking setup
# If not sure of an interface name, such as e1000g0, try PRIMARY
# NONE can leave more advanced configuration to a finish script
network_interface=PRIMARY {
hostname=X86-client-1
ip_address=192.168.0.220
netmask=255.255.255.0
default_route=192.168.0.254
protocol_ipv6=no
}
 
# The naming service configuration
# Common values are: NONE, NIS, DNS or LDAP
name_service=DNS
{
domain_name=company.com
search=hq.company.com,company.com
name_server=192.168.0.5,10.0.0.5
}
  
# The auto-registration appeared with Update 9
# A value must be present in order keep installation fully unattended
auto_reg=none