Cloud images (cloud-images)

Get images
https://docs.openstack.org/image-guide/obtain-images.html

Ubuntu
https://cloud-images.ubuntu.com/releases/
https://cloud-images.ubuntu.com/minimal/releases/

Ubuntu minimal cloud images
https://wiki.ubuntu.com/Minimal?_ga=2.234110487.847966267.1636368030-2121923539.1598520245

# 24.04 (noble)
https://cloud-images.ubuntu.com/minimal/daily/noble/current/noble-minimal-cloudimg-amd64.img
# 22.04 (jammy)
https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64-disk-kvm.img
# 20.04 (focal)
https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64-disk-kvm.img
# 18.04 (bionic)
https://cloud-images.ubuntu.com/bionic/current/bionic-server-cloudimg-amd64.img
# 16.04 (xenial)
https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img

Deploy OpenStack image

openstack image create "Ubuntu 24.04 minimal" \
  --file noble-minimal-cloudimg-amd64.img \
  --disk-format qcow2 \
  --min-disk 4 \
  --min-ram 1024 \
  --property hw_scsi_model=virtio-scsi \
  --property hw_disk_bus=scsi \
  --property hw_qemu_guest_agent=yes \
  --property os_distro=ubuntu \
  --property os_admin_user=ubuntu \
  --property os_version="24.04"

Get image version

cat /etc/cloud/build.info
# allow root login
cp /home/ubuntu/.ssh/authorized_keys /root/.ssh/authorized_keys

Windows
https://cloudbase.it/windows-cloud-images/#download
https://www.linuxsysadmins.com/create-windows-server-image-for-openstack/

RedHat
https://access.redhat.com/downloads/content/479/ver=/rhel---8/8.1/x86_64/product-software
https://access.redhat.com/downloads/content/69/ver=/rhel---7/7.7/x86_64/product-software

CentOS
https://cloud.centos.org/centos/

# latest
https://cloud.centos.org/centos/8/x86_64/images/ [CentOS-8-GenericCloud-*.x86_64.qcow2]

Fedora Atomic
https://mirrors.dotsrc.org/fedora-buffet/alt/atomic/stable/?C=M&O=D

CirrOS

# credentials
user: cirros
pass: gocubsgo

http://download.cirros-cloud.net/

GRML
https://download.grml.org/grml64-small_2022.11.iso

# direct download
http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img
http://download.cirros-cloud.net/0.5.1/cirros-0.5.1-x86_64-disk.img

Update script

IMAGES="
https://cloud-images.ubuntu.com/minimal/daily/focal/current/focal-minimal-cloudimg-amd64.img
https://cloud-images.ubuntu.com/minimal/daily/bionic/current/bionic-minimal-cloudimg-amd64.img
"
for IMAGE in ${IMAGES}; do
    echo "Download ${IMAGE}..."
    wget -q ${IMAGE} -O ${IMAGE##*/}
done
 
# convert qcaw to raw
qemu-img convert image-name.img image-name.raw