# create image from iso
openstack image create --file /tmp/ubuntu-24.04.1-live-server-amd64.iso --disk-format iso --progress ubuntu-24.04.1-live-server-amd64.iso
# create volume for the final VM
openstack volume create test-vm1-vol1 --size 10 --bootable
# create temporary installation VM
openstack server create test-vm1-inst --image ubuntu-24.04.1-live-server-amd64.iso --flavor m1.small --key-name test-keypair --network test-network
# attach volume to temporary VM
openstack server add volume test-vm1-inst test-vm1-vol1
# show console url from temporary VM
openstack console url show -c url -f value test-vm1-inst
# install OS in console
# delete temporary VM
openstack server stop test-vm1-inst
openstack server delete test-vm1-inst
# create final VM
openstack server create test-vm1 --volume test-vm1-vol1 --flavor m1.small --key-name test-keypair --network test-network
openstack console url show -c url -f value test-vm1
# remove iso imagge
openstack image delete ubuntu-24.04.1-live-server-amd64.iso
Links
https://openmetal.io/docs/manuals/tutorials/understanding-iso-images