Information Technology Reference
In-Depth Information
The following listing is an example of several entries from a rules file:
hostname sample_host - host_class set_root_pw
network 24.222.43.0 && \
karch sun4c - net24_sun4c -
arch i386 x86-begin x86-class -
any - - any_machine -
The first entry lists the JumpStart installation for the host named
sample_host
. No begin script is specified, the
host_class
file is used as the
profile or class file and the finish script named
set_root_pw
is called after
installation to set the password of the root account.
The second entry is actually listed on two lines. The “
\
” character at the end
of the first line is used to continue the entry to the next line. For systems that
are located on network,
24.222.43.0
and
&&
are SPARC sun4c platforms and
use the
net24_sun4c
profile or class file. No begin or finish script is specified.
The third entry is for all i386 or Intel-compatible platforms. The
x86-begin
script is executed first and then the
x86-class
profile or class file is used to
direct the installation.
The fourth provides a default. Any other systems not covered by the other
rules are installed using the
any_machine
profile or class file.
The Profile Files
A profile (or class) file is a text file that defines how to install the Solaris 9
software on a system. Like the rules file, a profile file contains keywords and
associated values that guide the installation. Keywords and associated values
include the following:
boot_device
(followed by the partition to use as a boot device)
➤
cluster
(followed by the name of the software group to install, add, or
delete)
➤
filesys
(followed by the pathname and mount point of a remote file
system to mount)
➤
install_type
(followed by the type of install:
initial_install
or
upgrade
➤
package
(followed by the name of a software package to add or delete)
➤
partitioning
(followed by the type of disk partitioning: default, existing,
or explicit)
➤
root_device
(followed by the partition to use as the root device)
➤
system_type
(followed by the system type: standalone or server)
➤