User's Manual
74 Preparing the Script Files for Deployment Using Embedded Linux
–
lininst.sh
— Performs an unattended installation of a supported Red Hat
®
Enterprise Linux
®
Server operating system.
•
tkenvset.sh
— Used by
lininst.sh
to inform the task scripts where to find the DTK utilities,
scripts, and configuration files.
•
grub
— Used to install the operating system in conjunction with the
unattended answer
file.
It also uses the following images in conjunction with the
unattended answer
file to perform
unattended operations:
- initial ramdisk
— Available on the
Installation and Server Management
CD
- kernel image
— Available on the Linux
operating system
CD
•
ks.cfg
— Used by
lininst.sh
in conjunction with
grub
to install the Red Hat Enterprise Linux
Server (versions 3 and 4) operating system files.
•
ks-rhel5.cfg
— Used by
lininst.sh
in conjunction with
grub
to install the Red Hat Enterprise
Linux Server
(version 5) operating system files.
–
suseinst.sh
— Performs an unattended installation of a supported SUSE
®
Linux Enterprise Server
operating system.
•
tkenvset.sh
— Used by
suseinst.sh
to inform the task scripts where to find the DTK utilities,
scripts, and configuration files.
•
grub
— Used to install the operating system in conjunction with the
unattended answer
file.
It also uses the following images in conjunction with the
unattended answer
file to perform
unattended operations:
- initial ramdisk
— Available on the
SUSE Linux
Enterprise Server
operating system
CD
- kernel image— Available on the SUSE Linux
Enterprise Server
operating system CD
•
autoinst.xml
— Used by
suseinst.sh
in conjunction with
grub
to install the operating system
files.
The majority of the editing required for the DTK sample scripts involves the following script. As a result,
the majority of the scripting discussion focuses on:
tkenvset.sh
Other task scripts might require edits in certain situations. These optional edits are discussed in "Editing
DTK Task Scripts."
tkenvset.sh
The tkenvset.sh script sets the paths for the DTK utilities and scripts and sets the variables for the
systems to be deployed and configured. These variables and paths must be specified before any of the
scripts can be used.