Deployment Guide
The W2K8INST.BAT script uses the UNATTEND.XML file (in BIOS mode) and UNATTEND_UEFI.XML file (in UEFI mode) with
SETUP.EXE utility to install the operating system files. The W2K12INST.BAT script uses the UNATTEND2K12.XML file (in BIOS
mode) and UNATTEND2K12_UEFI.XML file (in UEFI mode) with SETUP.EXE utility to install the operating system files. The
W2K16INST.BAT script uses the UNATTEND2K16.XML file (in BIOS mode) and UNATTEND2K16_UEFI.XML file (in UEFI mode)
with SETUP.EXE utility to install the operating system files. For more information, about preparing the UNATTEND.XML file, see
UNATTEND.XML AND UNATTEND_UEFI.XML.
Specifying the windows installation variables and installation paths
To edit the Windows operating system installation variables (in BIOS mode), locate the following lines in W2K8INST.BAT or
W2K12INST.BAT:
:: Location of Unattend.xml file
set DT_UNATTEND=%DT_SYSTEMS%\%DT_PLATFORM%\unattend.xml
UNATTEND.XML aND UNATTEND_UEFI.XML
The UNATTEND.XML (in BIOS mode) and UNATTEND_UEFI.XML file (in UEFI mode) are the default name of the answer files for
automating the Windows setup during an unattended installation. A sample copy of the UNATTEND.XML and
UNATTEND_UEFI.XML file is provided as part of the DTK download in the \Toolkit\Template\Configs directory.
UNATTEND.XML and UNATTEND_UEFI.XML contains the headings and parameters that instruct Windows setup to perform
various configuration 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 operating system, save the default answer files 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 file to customize the scripted installation of your operating system.
On systems running Windows Server 2008 or Windows Server 2012 operating system, save the completed file in the \Toolkit
\os_deploy\<target system> directory after you have completed all necessary modifications to the UNATTEND.XML or
UNATTEND_UEFI.XML file.
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 5 and 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 specified before the operating system can be installed.
Utilities used by Linux scripts
grub — Used with the kernel image and initial ramdisk files, along with the unattended answer file to install the operating system in
BIOS mode.
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.
51