Skip to content

Commit cf437e7

Browse files
committed
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
1 parent 6221866 commit cf437e7

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

docs/user-guide/openstack-image.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,55 @@ openstack image create --public --disk-format raw --file openstack-amd64.raw 'Ta
108108

109109
[talos]: <https://www.talos.dev/>
110110
[talos-image-factory]: <https://factory.talos.dev/>
111+
112+
## VMware ESXi
113+
114+
The VMware ESXi installer can be made into an image that can be booted on a machine.
115+
It will not work directly but instead must be converted using the [esxi-img][esxi-img]
116+
utility. To start you will need the VMware ESXi ISO from VMware.
117+
118+
<!-- markdownlint-capture -->
119+
<!-- markdownlint-disable MD046 -->
120+
!!! tip
121+
122+
You can store the ISO in glance so that you don't have to find it on VMware's
123+
website again.
124+
125+
```bash
126+
openstack image create \
127+
--container-format bare \
128+
--disk-format raw \
129+
--private \
130+
--file ~/Downloads/VMware-VMvisor-Installer-8.0U3-24022510.x86_64.iso \
131+
'ESXi 8.0u3 ISO'
132+
```
133+
134+
Then you can fetch it later.
135+
136+
```bash
137+
openstack image save --file esxi-80u3.iso 'ESXi 8.0u3 ISO'
138+
```
139+
<!-- markdownlint-restore -->
140+
141+
If you have [uv][uv] installed then you can use `uvx` to
142+
run it. The following will produce a converted image that can be uploaded to
143+
glance and booted.
144+
145+
```bash
146+
uvx esxi-img gen-img esxi-80u3.iso esxi-80u3.raw
147+
```
148+
149+
To upload it to glance run the following:
150+
151+
```bash
152+
openstack image create \
153+
--container-format bare \
154+
--disk-format raw \
155+
--public \
156+
--file esxi-80u3.raw \
157+
--property img_config_drive=mandatory \
158+
'ESXi 8.0u3'
159+
```
160+
161+
[esxi-img]: <https://github.com/rackerlabs/esxi-img>
162+
[uv]: <https://docs.astral.sh/uv>

0 commit comments

Comments
 (0)