This procedure describes the steps for running a custom or default script.

Before running a scripted installation, verify that the following prerequisites have been met:

The system on which you are installing the product meets the hardware requirements for the installation.

You have the installation media either on the installation CD/DVD or the installation media is accessible to the system on a media depot.

If you are PXE booting the installer, the correct PXE configuration file is defined. See Creating a PXE Configuration File.

The default installation script (ks.cfg) or a custom installation script is accessible to the system.

You have selected a boot command to run the scripted installation. See Boot Commands for a complete list of boot commands.

1

Boot the installer using one of the following methods.

Boot from the DVD using the local DVD-ROM drive.

PXE boot the installer.

2

When the mode selection page appears, press Tab.

3

From the boot options list, select a scripted install option.

Scripted Install Option

Description

ESX Scripted Install using USB ks.cfg and customize the ks= option in the boot options list.

To specify a custom script that is not located on the USB:

a

Select the USB option as a template.

b

Customize the ks= option to specify the actual name and location of the custom script.

The script must be located at one of the supported locations.

ESX Scripted Install using USB ks.cfg

Custom installation script located on a USB device attached to the machine. For this option, the script filename must be ks.cfg.

ESX Scripted Install to first disk

Default installation script included with the ESX media. You cannot customize this script. The default root password is mypassword.

ESX Scripted Install to first disk (overwrite VMFS)

Default installation script included with the ESX media. You cannot customize this script. The default root password is mypassword.

4

(Optional) Enter a boot command (ks=) command.

ks= Option

Description

ks=cdrom:/ks.cfg

Installation script is located on the DVD-ROM drive attached to the machine.

ks=file://<path>/ks.cfg

Installation script is at <path> which resides inside the initial ramdisk image.

ks=ftp://<server>/<path>/ks.cfg

Installation script is located at the given URL.

ks=http://<server>/<path>/ks.cfg

Installation script is located at the given URL.

ks=nfs://<server>/<path>/ks.cfg

Installation script is located at <path> on a given NFS server.

5

Press Enter.

The installation runs using the options that you specified.