WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
    • VMware Cloud Foundation 9.1
    • VMware Cloud Foundation 9.0
  • VKS
  • Homelab
    • Hardware Options
    • Hardware Reviews
    • Lab Deployment Scripts
    • Nested Virtualization
    • Homelab Podcasts
  • VMware Nostalgia
  • Apple
You are here: Home / ESXi / VCF 9.1.2 - ISO-based ESX Kickstart using vSphere Configuration Profiles (VCP)

VCF 9.1.2 - ISO-based ESX Kickstart using vSphere Configuration Profiles (VCP)

12.01.2026 by William Lam // Leave a Comment

I recently blogged about a cool new enhancement introduced with VMware Cloud Foundation (VCF) 9.1.2 that enables users to automate the installation and configuration of ESX through a scripted installation (ESX Kickstart) using vSphere Configuration Profiles (VCP). For organizations that leverage ESX Kickstart, the deployment is typically network-based, where both the ESX software and configuration scripts are remotely fetched from a central location.

Alternatively, some organizations may automate their bare-metal ESX installations using an ISO-based approach, where a custom ESX ISO can be dynamically generated on the fly and remotely mounted using the server's out-of-band (OOB) management system, achieving the same automated installation outcome but through a different deployment mechanism.

There is no right or wrong approach, as it really depends on the needs of the organization, and certain environments may necessitate one approach over the other. Since my previous article focused on a more traditional network-based ESX Kickstart deployment, I wanted to share how you can leverage the same VCF 9.1.2 capability for an ISO-based ESX installation using VCP.

Step 1 - Download the ESX 9.1.2 ISO and extract its contents into a local directory (e.g. esx912-vcp-iso), where we will make a few additional modifications before re-authoring the ISO.

mount -o loop VMware-VMvisor-Installer-9.1.2.0.25946735.x86_64.iso /tmp
cp -rf /tmp esx912-vcp-iso

Step 2 - Append the path to the embedded ESX Kickstart file (KS.CFG) and the compressed archive (vcp.tgz) containing our VCP specification to esx912-vcp-iso/efi/boot/boot.cfg. This will instruct the ESX Installer to perform a scripted installation using the ESX Kickstart file located within the ISO image and automatically load our vcp.tgz payload.

bootstate=0
title=Loading ESXi installer
timeout=5
prefix=
kernel=/b.b00
kernelopt=ks=cdrom:/KS.CFG
modules=/jumpstrt.gz --- /useropts.gz --- /features.gz --- /k.b00 --- /uc_intel.b00 --- /uc_amd.b00 --- /uc_hygon.b00 --- /vmx.v00 --- /vim.v00 --- /tpm.v00 --- /sb.v00 --- /s.v00 --- /atlantic.v00 --- /bcm_mpi3.v00 --- /bnxtnet.v00 --- /bnxtroce.v00 --- /cndi_igc.v00 --- /elxnet.v00 --- /i40en.v00 --- /iavmd.v00 --- /icen.v00 --- /igbn.v00 --- /intelgpi.v00 --- /ionic_cl.v00 --- /ionic_en.v00 --- /irdman.v00 --- /iser.v00 --- /ixgben.v00 --- /lpfc.v00 --- /lpnic.v00 --- /lsi_mr3.v00 --- /lsi_msgp.v00 --- /lsi_msgp.v01 --- /ne1000.v00 --- /nenic_en.v00 --- /nenic.v00 --- /nfnic.v00 --- /nhpsa.v00 --- /nipmi.v00 --- /nmlx5_cc.v00 --- /nmlx5_co.v00 --- /nmlx5_rd.v00 --- /ntg3.v00 --- /nvme_pci.v00 --- /nvmerdma.v00 --- /nvmetcp.v00 --- /nvmxnet3.v00 --- /nvmxnet3.v01 --- /pvscsi.v00 --- /qat.v00 --- /qcnic.v00 --- /qedentv.v00 --- /qedrntv.v00 --- /qfle3.v00 --- /qfle3f.v00 --- /qfle3i.v00 --- /rdmahl.v00 --- /rshim_ne.v00 --- /rshim.v00 --- /sfvmk.v00 --- /smartpqi.v00 --- /vmkata.v00 --- /vmksdhci.v00 --- /vmkusb.v00 --- /vmw_ahci.v00 --- /bmcal.v00 --- /clusters.v00 --- /crx.v00 --- /drivervm.v00 --- /btldr.v00 --- /dvfilter.v00 --- /esx_ui.v00 --- /esxupdt.v00 --- /tpmesxup.v00 --- /weaselin.v00 --- /xorg.v00 --- /esxio_co.v00 --- /infravis.v00 --- /loadesx.v00 --- /hpv2_hps.v00 --- /intelv2_.v00 --- /lsiv2_dr.v00 --- /nvme_pci.v01 --- /oem_dell.v00 --- /oem_leno.v00 --- /smartpqi.v01 --- /native_m.v00 --- /nsx_pyth.v01 --- /podvm_ro.v00 --- /qlnative.v00 --- /trx.v00 --- /vcls_pod.v00 --- /vdfs.v00 --- /vds_vsip.v00 --- /vmware_e.v00 --- /vmware_f.v00 --- /hbrsrv.v00 --- /vsan.v00 --- /vsanheal.v00 --- /vsanmgmt.v00 --- /tools.t00 --- /qp_esx_d.v00 --- /nsx_adf.v00 --- /nsx_cfga.v00 --- /nsx_cont.v00 --- /nsx_cpp_.v00 --- /nsx_esx_.v00 --- /nsx_expo.v00 --- /nsx_head.v00 --- /nsx_host.v00 --- /nsx_moni.v00 --- /nsx_mpa.v00 --- /nsx_nest.v00 --- /nsx_neto.v00 --- /nsx_opsa.v00 --- /nsx_plat.v00 --- /nsx_prot.v00 --- /nsx_prox.v00 --- /nsx_pyth.v00 --- /nsx_pyth.v02 --- /nsx_scx.v00 --- /nsx_sfhc.v00 --- /nsx_shar.v00 --- /nsx_snpr.v00 --- /nsxcli.v00 --- /vsipfwli.v00 --- /gc.v00 --- /imgdb.tgz --- /basemisc.tgz --- /resvibs.tgz --- /esxiodpt.tgz --- /imgpayld.tgz --- /vcp.tgz
build=9.1.2-0.25946735
updated=0

Note: The ESX Kickstart filename must be in uppercase, while the compressed archive containing the VCP specification can be named anything, as long as it matches the filename specified in boot.cfg.

Step 3 - Create the ESX Kickstart file with the following contents and save it as esx912-vcp-iso/KS.CFG:

vmaccepteula
rootpw VMware1!
installdesiredstate --desiredconfig
install --firstdisk --overwritevmfs
reboot

%pre --interpreter=busybox
cp /tardisks/vcp.tgz /desired_state.tgz

Note: The %pre stanza is required to activate the ESX Kickstart code path that consumes our VCP specification, and the filename must be exactly desired_state.tgz for this to work. Unfortunately, since vSphere Auto Deploy also leverages this same code path, we cannot simply name our compressed archive desired_state.tgz and reference it directly in boot.cfg, as this would result in unexpected behavior.

Step 4 - To create the compressed archive containing our VCP specification, ensure that the local file and directory structure matches etc/vmware/desired_configuration.json and then run the following command:

tar -czvf vcp.tgz etc

Note: The compressed archive containing the VCP specification can be named anything, as long as it matches the filename specified in boot.cfg from Step 2

Step 5 - Run the following command to re-author the ESX 9.1.2 ISO with our modifications.

mkisofs -iso-level 3 -relaxed-filenames -J -R \
    -o esx912-vcp.iso \
    -c boot.cat \
    -e efiboot.img \
    -no-emul-boot \
    esx912-vcp-iso

Step 6 - Finally, mount the custom ESX 9.1.2 ISO to either a Nested ESX VM (for ease of testing) or a physical host and boot from the ISO. The ESX Installer should automatically load the embedded ESX Kickstart file and perform the scripted installation using the VCP specification included in our custom ISO.


Note: The troubleshooting process is exactly the same as outlined in the previous blog post. Simply take a look at /var/log/syslog.log for the relevant log entries.

Categories // ESXi, VMware Cloud Foundation, VMware vSphere Foundation Tags // VCF 9.1.2

Thanks for the comment! Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

Thank Author

Author

William is Distinguished Platform Engineering Architect in the VMware Cloud Foundation (VCF) Division at Broadcom. His primary focus is helping customers and partners build, run and operate a modern Private Cloud using the VMware Cloud Foundation (VCF) platform.

Connect

  • Bluesky
  • Email
  • GitHub
  • LinkedIn
  • Reddit
  • RSS
  • Twitter
  • Vimeo

Recent

  • VCF 9.1.2 - ISO-based ESX Kickstart using vSphere Configuration Profiles (VCP) 12/01/2026
  • VCF 9.1.2 - ESX Kickstart using vSphere Configuration Profiles (VCP) 11/25/2026
  • Quad-Port Remote KVM Upgrade for my VCF Lab 11/20/2026
  • vCenter Linking Replaces Enhanced Linked Mode (ELM) in VVF & VCF 9.x 11/18/2026
  • VCF 9.1.x Upgrade Sequence with Shared NSX Manager 11/17/2026
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.

To find out more, including how to control cookies, see here: Cookie Policy

Copyright WilliamLam.com © 2026

Loading Comments...