WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
    • VMware Cloud Foundation 9
  • VKS
  • Homelab
    • Hardware Options
    • Hardware Reviews
    • Lab Deployment Scripts
    • Nested Virtualization
    • Homelab Podcasts
  • VMware Nostalgia
  • Apple

Search Results for: kickstart

Updated method for automatically joining vCenter Server using ESXi Kickstart

09.08.2025 by William Lam // 2 Comments

Have you ever written a script that gets the job done and years later, you go back and ask yourself ... what the heck did I do or why did I do it that way!?! 😅

Probably not as frequent as we should but I have found myself in these situations over the years, whether it is addressing an issue/enhancement or needing to explain the code to another colleague.

While copious free time is never on our side in IT, it does help to re-evaluate your automation and processes over the years to see if there are new techniques, enhancements that can make the automation more effective.

I was recently CC'ed on a Reddit thread about some automation that I had worked on more than 14 years ago that would automatically join an ESXi host to vCenter Server using an ESXi Kickstart script.

Knowing what I know now and probably even earlier, the solution of calling into the vSphere MOB and manually crafting the XML payload to join the ESXi host to a desired vSphere Cluster in vCenter Server was certainly not ideal, but it got the job done. We can certainly improve the solution leveraging a more modern solution, while still staying true to the original requirements of being able to perform vSphere Cluster addition directly from ESXi 8.x/9.x Kickstart without relying on external dependencies.

[Read more...]

Categories // ESXi Tags // ESXi 8.0, ESXi 9.0, kickstart

Failed to locate kickstart on Nested ESXi VM CD-ROM in VCF 9.0

06.20.2025 by William Lam // 2 Comments

If you are automating the installation of ESXi using a scripted installation (aka Kickstart) and the KS.CFG is located on a CD-ROM device and you happen to be using a Nested ESXi VM and see the following message:

cannot find kickstart file on cd-rom with path -- /KS.CFG


You are probably using an IDE-based controller for the CD-ROM device, which the underlying IDE driver for ESXi has been removed as part of VMware Cloud Foundation (VCF) 9.0.


The fix is to simply remove the IDE controller and use a SATA controller and things will work as expected!

Categories // ESXi, Nested Virtualization, VMware Cloud Foundation, vSphere 9.0 Tags // ESXi 9.0, kickstart, Nested ESXi, VCF 9.0

Quick Tip - Automating cpuUniformityHardCheckPanic configuration for ESXi Kickstart with USB

05.09.2024 by William Lam // Leave a Comment

To prevent ESXi from PSOD'ing when an Intel Hybrid Consumer CPU is detected with non-uniform capabilities, a workaround can be applied to ignore the uniformity miss-match which is needed before the ESXi installer fully boots up and also after the initial reboot.

For those looking to fully automate this process using ESXi Kickstart using USB as an example, there are two places where the kernel boot option must be added:

1) The first is the EFI\boot\boot.cfg file on the ESXi installer media (e.g. USB) where you will append to the kernelopt line as shown in the snippet below:

bootstate=0
title=Loading ESXi installer
timeout=5
prefix=
kernel=/b.b00
kernelopt=ks=usb:/KS.CFG cpuUniformityHardCheckPanic=FALSE
.....

2) The second must be added to the %post section of your ESXi kickstart, which will update the first ESXi bootbank's boot.cfg and ensure the kernel option is passed to ESXi when it reboots after installation:

%post --interpreter=busybox

sed -i '/^kernelopt=/ s/$/ cpuUniformityHardCheckPanic=FALSE/' /vmfs/volumes/BOOTBANK1/boot.cfg

Categories // ESXi Tags // ESXi, kickstart, usb

  • 1
  • 2
  • 3
  • …
  • 33
  • Next Page »

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
  • Mastodon
  • Reddit
  • RSS
  • Twitter
  • Vimeo

Recent

  • VCF 9.0 Fleet Latency Diagram 12/11/2025
  • Quick Tip - Downloading VMware Cloud Foundation (VCF) Consumption CLI for Air-Gapped Environments 12/10/2025
  • Automating VCF Operations Objects & Metrics Reporting 12/08/2025
  • Quick Tip - Using VCF CLI to login to vSphere Supervisor when configured with VCF Automation 12/05/2025
  • Automating the Reporting of VCF Workload Domain Import Pre-Check Validations 12/04/2025

Advertisment

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 © 2025

 

Loading Comments...