Users Guide
After you have successfully edited your deployment scripts, you are ready to create your deployment media and run your
deployment. For instructions on creating the deployment media and running a full deployment, see Running The Deployment Scripts.
Linux scripts
The lininst.sh (for Red Hat Enterprise Linux 6) and lininst7.sh (for Red Hat Enterprise Linux 7) sample scripts are used to perform an
unattended installation of the supported Red Hat Enterprise Linux Server operating system in both BIOS and UEFI mode. The
variables and paths must be specied before the operating system can be installed.
Utilities used by Linux scripts
grub — Used with the kernel image and initial ramdisk les, along with the unattended answer le to install the operating system in
BIOS mode.
grub2 — Used with the kernel image and initial ramdisk les, along with the unattended answer le 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 les.
• DT_HD — Sets the required disk to be congured 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 le with the grub utility and kernel image and initial ramdisk les to install the
operating system les. For more information about preparing the unattended answer le, see Answer Files.
Answer les
Depending on the version of the Red Hat Enterprise Linux Server operating system, the ks-rhel6.cfg and ks-rhel7.cfg,
ks_rhel6_ue.cfg (only in UEFI mode), or ks_rhel7_ue.cfg (only in UEFI mode) les are the default names of the answer les to
automate an unattended Red Hat Enterprise Linux Server installation. A sample copy of the ks-rhel6.cfg/ks-rhel7.cfg le is provided
as part of the DTK download in the /opt/dell/toolkit/template/congs directory. The ks-rhel6.cfg/ks-rhel7.cfg les contain the
headings and parameters that instruct the installation utility to perform various conguration 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_ue.cfg (only
in UEFI mode), or ks_centos7_ue.cfg (only in UEFI mode) les are the default names of the answer les to automate an unattended
CentOS Server installation. A sample copy of the ks-centos6.cfg/ks-centos7.cfg le is provided as part of the DTK download in
the /opt/dell/toolkit/template/congs directory. The ks-centos6.cfg/ks-centos7.cfg les contain the headings and parameters that
instruct the installation utility to perform various conguration tasks. Before a full deployment can be run, edit all appropriate
headings and parameters, as necessary.
NOTE: The sample le 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 le to install Red Hat Enterprise Linux Server (version 5) using lininst.sh, ensure
that you rename the le to ks.cfg.
NOTE: The sample les provided to install Red Hat Enterprise Linux Server (version 6) are ks-rhel6.cfg (in BIOS mode),
and ks_rhel6_ue.cfg (in UEFI mode). To use the sample ks-rhel6.cfg le to install Red Hat Enterprise Linux Server
(version 6) using lininst.sh, ensure that you rename the le to ks.cfg. To use the sample ks_rhel6_ue.cfg le to install
Red Hat Enterprise Linux Server (version 6) using
lininst.sh, ensure that you rename the le to ks_ue.cfg.
NOTE: The sample les provided to install Red Hat Enterprise Linux Server (version 7) are ks-rhel7.cfg (in BIOS mode),
and ks_rhel7_ue.cfg (in UEFI mode). To use the sample ks-rhel7.cfg le to install Red Hat Enterprise Linux Server
(version 7) using linins7t.sh, ensure that you rename the le to ks.cfg. To use the sample ks_rhel7_ue.cfg le to install
Red Hat Enterprise Linux Server (version 7) using lininst7.sh, ensure that you rename the le to ks_ue.cfg.
NOTE: The sample les provided to install CentOS Server (version 6.x) are ks-centos6.cfg (in BIOS mode), and
ks_centos6_ue.cfg (in UEFI mode). To use the sample ks-centos6.cfg le to install CentOS Server (version 6.x) using
centinst6.sh, ensure that you rename the le to ks.cfg. To use the sample ks_centos6_ue.cfg le to install CentOS
Server (version 6.x) using centinst6.sh, ensure that you rename the le to ks_ue.cfg.
48