7.0

Table Of Contents
5 Copy the ESXi installation script to the USB flash drive.
cp ks.cfg /usbdisk
6 Unmount the USB flash drive.
umount /usbdisk
Results
The USB flash drive contains the installation or upgrade script for ESXi.
What to do next
When you boot the ESXi installer, point to the location of the USB flash drive for the installation or
upgrade script. See Enter Boot Options to Start an Installation or Upgrade Script and PXELINUX
Configuration Files.
Create an Installer ISO Image with a Custom Installation or Upgrade Script
You can customize the standard ESXi installer ISO image with your own installation or upgrade
script. This customization enables you to perform a scripted, unattended installation or upgrade
when you boot the resulting installer ISO image.
See also About Installation and Upgrade Scripts and About the boot.cfg File .
Prerequisites
n Linux machine
n The ESXi ISO image VMware-VMvisor-Installer-x.x.x-XXXXXX.x86_64.iso,where
x.x.x is the version of ESXi you are installing, and XXXXXX is the build number of the installer
ISO image
n Your custom installation or upgrade script, the KS_CUST.CFG kickstart file
Procedure
1 Download the ESXi ISO image from VMware Customer Connect.
2 Mount the ISO image in a folder:
mount -o loop VMware-VMvisor-Installer-x.x.x-XXXXXX.x86_64.iso /
esxi_cdrom_mount
XXXXXX is the ESXi build number for the version that you are installing or upgrading to.
3 Copy the contents of esxi_cdrom to another folder:
cp -r /esxi_cdrom_mount/* /esxi_cdrom
4 Copy the kickstart file to /esxi_cdrom.
cp KS_CUST.CFG /esxi_cdrom
VMware ESXi Installation and Setup
VMware, Inc. 28