Deployment Guide

grub2 — Used with the kernel image and initial ramdisk files, along with the unattended answer file to install the
operating system in UEFI mode.
The following are the variables used in grub and grub2:
DT_OS_DISK — Sets the disk to deploy the Red Hat Enterprise Linux Server 6 operating system.
DT_OS_NFS_LOC — Sets the disk to deploy the Red Hat Enterprise Linux Server 7 operating system.
DT_OS_SRC — Sets the location from where to copy the kernel image and initial ramdisk files.
DT_HD — Sets the required disk to be configured for partition.
External dependencies of lininst.sh
The DT_PLATFORM variable is set during deployment by tkenvset.sh using platform discovery.
The lininst.sh script uses the unattended answer file 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 Answer Files.
Answer files
Depending on the version of the Red Hat Enterprise Linux Server operating system, the ks-rhel6.cfg and ks-rhel7.cfg,
ks_rhel6_uefi.cfg (only in UEFI mode), or ks_rhel7_uefi.cfg (only in UEFI mode) files are the default names of the answer
files to automate an unattended Red Hat Enterprise Linux Server installation. A sample copy of the ks-rhel6.cfg/ks-rhel7.cfg file
is provided as part of the DTK download in the /opt/dell/toolkit/template/configs directory. The ks-rhel6.cfg/ks-
rhel7.cfg files contain the headings and parameters that instruct the installation utility to perform various configuration tasks. Before a
full deployment can be run, edit all appropriate headings and parameters, as necessary.
Depending on the version of the CentOS Server operating system, the ks-centos6.cfg and ks-centos7.cfg,
ks_centos6_uefi.cfg (only in UEFI mode), or ks_centos7_uefi.cfg (only in UEFI mode) files are the default names of the
answer files to automate an unattended CentOS Server installation. A sample copy of the ks-centos6.cfg/ks-centos7.cfg file is
provided as part of the DTK download in the /opt/dell/toolkit/template/configs directory. The ks-centos6.cfg/ks-
centos7.cfg files contain the headings and parameters that instruct the installation utility to perform various configuration tasks.
Before a full deployment can be run, edit all appropriate headings and parameters, as necessary.
Depending on the version of the Red Hat Enterprise Linux Server operating system, the ks.cfg, ks-rhel5.cfg, ks-rhel6.cfg,
ks-rhel7.cfg, ks_rhel6_uefi.cfg (only in UEFI mode), or ks_rhel7_uefi.cfg (only in UEFI mode) files are the default
names of the answer files to automate an unattended Red Hat Enterprise Linux Server installation. A sample copy of the ks.cfg/ks-
rhel5.cfg/ks-rhel6.cfg/ks-rhel7.cfg file is provided as part of the DTK download in the /opt/dell/toolkit/
template/configs directory. The ks.cfg/ks-rhel5.cfg/ks-rhel6.cfg/ks-rhel7.cfg files contain the headings and
parameters that instruct the installation utility to perform various configuration tasks. Before a full deployment can be run, edit all
appropriate headings and parameters, as necessary.
NOTE:
The sample file provided to install Red Hat Enterprise Linux Server (version 5) in BIOS mode 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, ensure that you rename the file to ks.cfg.
NOTE: The sample files provided to install Red Hat Enterprise Linux Server (version 6) are ks-rhel6.cfg (in BIOS
mode), and ks_rhel6_uefi.cfg (in UEFI mode). To use the sample ks-rhel6.cfg file to install Red Hat Enterprise
Linux Server (version 6) using lininst.sh, ensure that you rename the file to ks.cfg. To use the sample
ks_rhel6_uefi.cfg file to install Red Hat Enterprise Linux Server (version 6) using lininst.sh, ensure that you
rename the file to ks_uefi.cfg.
NOTE: The sample files provided to install Red Hat Enterprise Linux Server (version 7) are ks-rhel7.cfg (in BIOS
mode), and ks_rhel7_uefi.cfg (in UEFI mode). To use the sample ks-rhel7.cfg file to install Red Hat Enterprise
Linux Server (version 7) using linins7t.sh, ensure that you rename the file to ks.cfg. To use the sample
ks_rhel7_uefi.cfg file to install Red Hat Enterprise Linux Server (version 7) using lininst7.sh, ensure that you
rename the file to ks_uefi.cfg.
NOTE: The sample files provided to install CentOS Server (version 6.x) are ks-centos6.cfg (in BIOS mode), and
ks_centos6_uefi.cfg (in UEFI mode). To use the sample ks-centos6.cfg file to install CentOS Server (version 6.x)
using centinst6.sh, ensure that you rename the file to ks.cfg. To use the sample ks_centos6_uefi.cfg file to
install CentOS Server (version 6.x) using centinst6.sh, ensure that you rename the file to ks_uefi.cfg.
Preparing the script files 49