KickStart automated ESX install

  1. Extract the ESX media from the bootable ISO/DVD received from VMware
  2. Copy them to a network location and make them accessible
  3. Create the ks.cfg (kickstart configuration file) answer file with custom values to installation options. The main sections of the ks.cfg file are as below
    1. accepteula or vmaccepteula (required)
    2. autopart (required)
    3. clearpart (optional)
    4. dryrun (optional)
    5. install (required)
    6. keyboard (optional)
    7. serialnum or vmserialnum (optional)
    8. network (optional)
    9. paranoid (optional)
    10. part or partition (optional)
    11. rootpw (required)
    12. %include or include
    13. %pre (optional)
    14. %post (optional)
    15. %firstboot
  4. The previous version to 4.0 of ESX server used to support incomplete ks.cfg file by which it uses the defined values for settings in the ks.cfg and prompt user for configuring the rest. This is now changed from ESX[i] 4.0 where you should have all the responses specified in ks.cfg or don’t have the ks.cfg at all. So ESXi only allows a zero-touch builds via ks.cfg.
  5. To have readily setup solution, refer to Virtaul Applicances  “ESX Deployment Appliance (EDA)
  6. References:
    1. http://communities.vmware.com/blogs/vmwareinsmb/2010/07/13/esxi-41-scripted-installation-via-pxe-and-kickstart
    2. http://www.virtuallyghetto.com/2010/09/automating-esxi-41-kickstart-tips.html for ks.cfg setup tips
    3. http://www.kendrickcoleman.com/index.php?/Tech-Blog/esxi-41-kickstart-install-wip.html
    4. autodeploy_fling.pdf (application/pdf Object)
    5. h
  7. f

0 thoughts on “KickStart automated ESX install

  1. I am using PXE to install Esxi. After installation when it reboots it again boot via network it should boot via Hard Disk this time.

    I want the boot order to change via kickstart or any option rather than doing it manually. As I am installing in 100 machines in parallel so it is not possible to do anything manually.

Leave a Reply

Your email address will not be published. Required fields are marked *