In the previous post we saw how to interactively install ESXi, here I will show you how to install using script. Only difference between this method and interactive method is you do not need provide any inputs. Just one simple line pointing to ks.cfg file and all done.
What you need? i.e. pre-requisites
IIS or any Webserver
ISO image to burn it on CD/DVD (assuming you do not have ILO)
Configuration of IIS Server
Install IIS using standard next next method. Nothing special there.
Extract ESXi5.0 ISO image using ISO Buster
Create a answer file with name ks.cfg as shown below
# Sample scripted installation file
# Accept the VMware End User License Agreement
# Set the root password for the DCUI and Tech Support Mode
# Install on the first local disk available on machine
install –firstdisk –overwritevmfs
# Set the network to DHCP on the first network adapater
network –bootproto=dhcp –device=vmnic0
# Reboot the OS but do not eject CD.