Users Guide

UNATTEND.XML aND UNATTEND_UEFI.XML
The UNATTEND.XML (in BIOS mode) and UNATTEND_UEFI.XML le (in UEFI mode) are the default name of the answer les for
automating the Windows setup during an unattended installation. A sample copy of the UNATTEND.XML and UNATTEND_UEFI.XML le is
provided as part of the DTK download in the \Toolkit\Template\Congs directory.
UNATTEND.XML and UNATTEND_UEFI.XML contains the headings and parameters that instruct Windows setup to perform various
conguration tasks. In UNATTEND.XML and UNATTEND_UEFI.XML, specify various setup options, including how to partition disks and the
location of the Windows image you want to install. Before a full deployment can be run, edit all appropriate headings and parameters, as
necessary.
NOTE: On systems running Windows Server 2012 R2 operating system, save the default answer les as UNATTEND2K12.XML or
UNATTEND2K12_UEFI.XML.
NOTE: See your operating system documentation for instructions on modifying the options in the operating system unattended
installation le to customize the scripted installation of your operating system.
On systems running Windows Server 2012 R2 operating system, save the completed le in the \Toolkit\os_deploy\<target system>
directory after you have completed all necessary modications to the UNATTEND.XML or UNATTEND_UEFI.XML le.
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 specied 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 congured 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.
54
Preparing the script les