Copyright 2013-2017 by "Payman"    All Rights reserved    E-Mail:
Tel: +98-912-3098599
Suite 101, 1220 West Market Street
Wilmington, Delaware  U.S.A. 19901
Tel: 1-302-123-7777

Configure Kernel Boot Parameters

You can start an scripted installation by typing boot options at the ESXi installer boot command
line.  To access this during boot, press Shift+O in the boot loader.  For PXE boots the options can
be passes through the kernelopts line of boot.cfg.
Once Shift+O has been select, you are prompted for install script location and you can point to a
kick start script on the network or USB.
It is possible to use a remote kick start script. The ks.cfg install script is a text file that contains
supported commands. The default ks.cfg file is located in /etc/vmware/weasel/ks.cfg path in the
initial RAM disk or installed ESXi.
To create a custom script or modify an existing one, supported commands must be used.
As a test, we call a ks.cfg script from a IIS web server.  To be able to do this we first create a folder
under the root directory called KickStart.  We have copied the default ks.cfg file to this location.
We also have to add the extension to MIME types. Open IIS - Sites - Default Web Site -
KickStart - MIME Type - Add.  Add the .cfg extension and text/plain MIME type.
Now if you browse the following, you will see the default ks.cfg file:

We will have default network configuration:
network --bootproto=dhcp --device=vmnic0

Open the default kick start script and change network configurations like static IP address and
hostname using Notepad:
network --device=vmnic0 --bootproto=static --ip= --gateway= --
netmask= --hostname=ESXi02 --nameserver=

This will install ESXi to the first local disk; If you want to install ESXi to SD Cards or USB Flash
Drives, then replace this line:
install --firstdisk=usb-storage --overwritevmfs
To test, we will boot from ESXi media and use the Shift+O, but a PXE boot could be used as well. 
Once booted and Shift+O has been selected we add the following command:

ESXi will then build following the script. Notice the IP address and hostname of the ESXi.
A Land of Virtualization Technology