From cf437e72b228dafc625b8b740d76120f519686b9 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Wed, 16 Jul 2025 11:26:57 -0500 Subject: [PATCH] docs: add notes on how to make an ESXi image Added some notes on how you can make a VMware ESXi installer image. ref: PUC-964 --- docs/user-guide/openstack-image.md | 52 ++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/docs/user-guide/openstack-image.md b/docs/user-guide/openstack-image.md index 5626257c1..7d58c7af7 100644 --- a/docs/user-guide/openstack-image.md +++ b/docs/user-guide/openstack-image.md @@ -108,3 +108,55 @@ openstack image create --public --disk-format raw --file openstack-amd64.raw 'Ta [talos]: [talos-image-factory]: + +## VMware ESXi + +The VMware ESXi installer can be made into an image that can be booted on a machine. +It will not work directly but instead must be converted using the [esxi-img][esxi-img] +utility. To start you will need the VMware ESXi ISO from VMware. + + + +!!! tip + + You can store the ISO in glance so that you don't have to find it on VMware's + website again. + + ```bash + openstack image create \ + --container-format bare \ + --disk-format raw \ + --private \ + --file ~/Downloads/VMware-VMvisor-Installer-8.0U3-24022510.x86_64.iso \ + 'ESXi 8.0u3 ISO' + ``` + + Then you can fetch it later. + + ```bash + openstack image save --file esxi-80u3.iso 'ESXi 8.0u3 ISO' + ``` + + +If you have [uv][uv] installed then you can use `uvx` to +run it. The following will produce a converted image that can be uploaded to +glance and booted. + +```bash +uvx esxi-img gen-img esxi-80u3.iso esxi-80u3.raw +``` + +To upload it to glance run the following: + +```bash +openstack image create \ + --container-format bare \ + --disk-format raw \ + --public \ + --file esxi-80u3.raw \ + --property img_config_drive=mandatory \ + 'ESXi 8.0u3' +``` + +[esxi-img]: +[uv]: