Skip to content

Commit f934403

Browse files
authored
Merge pull request #1077 from rackerlabs/doc-esxi-img
docs: add notes on how to make an ESXi image
2 parents f5025ba + cf437e7 commit f934403

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
@@ -114,3 +114,55 @@ openstack image set --property img_config_drive='mandatory' $NEW_IMAGE_UUID
114114

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

0 commit comments

Comments
 (0)