7.0

Table Of Contents
ks=http://XXX.XXX.XXX.XXX/kickstart/KS.CFG is the path to the ESXi installation script,
where XXX.XXX.XXX.XXX is the IP address of the machine where the script resides. See About
Installation and Upgrade Scripts.
To start an installation script from an interactive installation, you enter the ks= option manually.
See Enter Boot Options to Start an Installation or Upgrade Script.
Installation and Upgrade Script Commands
To modify the default installation or upgrade script or to create your own script, use supported
commands. Use supported commands in the installation script, which you specify with a boot
command when you boot the installer.
To determine which disk to install or upgrade ESXi on, the installation script requires one of the
following commands: install, upgrade, or installorupgrade. The install command creates
the default partitions, including a VMFS datastore that occupies all available space after the other
partitions are created.
accepteula or vmaccepteula (Required)
Accepts the ESXi license agreement.
clearpart (Optional)
Clears any existing partitions on the disk. Requires the install command to be specified.
Carefully edit the clearpart command in your existing scripts.
--drives=
Remove partitions on the specified drives.
--alldrives
Ignores the --drives= requirement and allows clearing of partitions on
every drive.
--ignoredrives=
Removes partitions on all drives except those specified. Required
unless the --drives= or --alldrives flag is specified.
--overwritevmfs
Allows overwriting of VMFS partitions on the specified drives. By
default, overwriting VMFS partitions is not allowed.
--firstdisk=
disk-type1
[disk-type2,...]
Partitions the first eligible disk found. By default, the eligible disks are
set to the following order:
1 Locally attached storage (local)
2 Network storage (remote)
3 USB disks (usb)
You can change the order of the disks by using a comma-separated
list appended to the argument. If you provide a filter list, the default
settings are overridden. You can combine filters to specify a particular
disk, including esx for the first disk with ESXi installed on it, model
and vendor information, or the name of the VMkernel device driver.
For example, to prefer a disk with the model name ST3120814A and
VMware ESXi Installation and Setup
VMware, Inc. 84