Owner's Manual

Preparing the Script Files 79
lininst.sh
The lininst.sh sample script is used to perform an unattended installation of
a supported Red Hat Enterprise Linux Server operating system. The variables
and paths must be specified before the operating system can be installed.
Utilities Used
grub — Used in conjunction with the kernel image and initial ramdisk files,
along with the unattended answer file to install the operating system.
Variab le s Used
DT_OS_DISK
— Sets the disk on which to deploy the
Red Hat
Enterprise Linux Server operating system.
DT_OS_SRC
— Sets the location from where to copy the
kernel image
and
initial ramdisk
files.
External Dependencies
The DT_PLATFORM variable is set during deployment by tkenvset.sh using
platform discovery.
The lininst.sh script uses the
unattended answer
file in conjunction with the
grub utility and kernel image and initial ramdisk files to install the operating
system files. For more information about preparing the
unattended answer
file, see "ks.cfg, ks-rhel5.cfg, and ks-rhel6.cfg" on page 79.
ks.cfg, ks-rhel5.cfg, and ks-rhel6.cfg
Depending on the version of the Red Hat Enterprise Linux Server operating
system, the ks.cfg, ks-rhel5.cfg, or ks-rhel6.cfg files are the default names of the
answer files that you use to automate an unattended Red Hat Enterprise Linux
Server installation. A sample copy of the ks.cfg/ks-rhel5.cfg/ks-rhel6.cfg files are
provided as part of DTK download in the /opt/dell/toolkit/template/configs
directory. The ks.cfg/ks-rhel5.cfg/ks-rhel6.cfg files contain the headings and
parameters that instruct the installation utility to perform various configuration
tasks. Before a full deployment can be run, you must edit all appropriate headings
and parameters, as necessary.
NOTE: The sample file provided to install Red Hat Enterprise Linux Server (version 5) is
named ks-rhel5.cfg. To use the sample ks-rhel5.cfg file to install Red Hat Enterprise
Linux Server (version 5) using lininst.sh, make sure that you rename the file to ks.cfg.