OpenStack - add images

Moki Lv6

Debian 12

1
2
3
4
5
wget -nc https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-generic-amd64.qcow2 -O /tmp/debian-12.qcow2 && \
openstack image create --disk-format qcow2 --container-format bare --file /tmp/debian-12.qcow2 "Debian 12 (Bookworm) qcow2" --public --property distribution=debian --property hw_disk_bus=scsi --property hw_scsi_model=virtio-scsi --property hw_qemu_guest_agent=yes --property image_original_user=debian --progress --min-disk 5 && \
rsync /tmp/debian-12.qcow2 /tmp/debian-12-test.qcow2 && \
virt-customize -a /tmp/debian-12-test.qcow2 --root-password password:root && \
openstack image create --disk-format qcow2 --container-format bare --file /tmp/debian-12-test.qcow2 "TEST - Debian 12 (Bookworm) qcow2" --public --property distribution=debian --property hw_disk_bus=scsi --property hw_scsi_model=virtio-scsi --property hw_qemu_guest_agent=yes --property image_original_user=debian --progress --min-disk 5

Ubuntu 22.04 LTS

1
2
3
4
5
wget -nc https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-amd64.img -O /tmp/ubuntu-22.04-server.qcow2 && \
openstack image create --disk-format qcow2 --container-format bare --file /tmp/ubuntu-22.04-server.qcow2 "Ubuntu server 22.04 LTS (Jammy) qcow2" --public --property distribution=ubuntu --property hw_disk_bus=scsi --property hw_scsi_model=virtio-scsi --property hw_qemu_guest_agent=yes --property image_original_user=debian --progress --min-disk 5 && \
rsync /tmp/ubuntu-22.04-server.qcow2 /tmp/ubuntu-22.04-server-test.qcow2 && \
virt-customize -a /tmp/ubuntu-22.04-server-test.qcow2 --root-password password:root && \
openstack image create --disk-format qcow2 --container-format bare --file /tmp/ubuntu-22.04-server-test.qcow2 "TEST - Ubuntu server 22.04 LTS (Jammy) qcow2" --public --property distribution=ubuntu --property hw_disk_bus=scsi --property hw_scsi_model=virtio-scsi --property hw_qemu_guest_agent=yes --property image_original_user=debian --progress --min-disk 5

Ubuntu 23.04

1
2
3
4
5
wget -nc https://cloud-images.ubuntu.com/releases/23.04/release/ubuntu-23.04-server-cloudimg-amd64.img -O /tmp/ubuntu-23.04-server.qcow2 && \
openstack image create --disk-format qcow2 --container-format bare --file /tmp/ubuntu-23.04-server.qcow2 "Ubuntu server 23.04 (Lunar) qcow2" --public --property distribution=ubuntu --property hw_disk_bus=scsi --property hw_scsi_model=virtio-scsi --property hw_qemu_guest_agent=yes --property image_original_user=debian --progress --min-disk 5 && \
rsync /tmp/ubuntu-23.04-server.qcow2 /tmp/ubuntu-23.04-server-test.qcow2 && \
virt-customize -a /tmp/ubuntu-23.04-server.qcow2 --root-password password:root && \
openstack image create --disk-format qcow2 --container-format bare --file /tmp/ubuntu-23.04-server-test.qcow2 "TEST - Ubuntu server 23.04 (Lunar) qcow2" --public --property distribution=ubuntu --property hw_disk_bus=scsi --property hw_scsi_model=virtio-scsi --property hw_qemu_guest_agent=yes --property image_original_user=debian --progress --min-disk 5

Ubuntu 23.10

1
2
3
4
5
wget -nc https://cloud-images.ubuntu.com/releases/23.10/release/ubuntu-23.10-server-cloudimg-amd64.img -O /tmp/ubuntu-23.10-server.qcow2 && \
openstack image create --disk-format qcow2 --container-format bare --file /tmp/ubuntu-23.10-server.qcow2 "Ubuntu server 23.10 (Mantic Minotaur) qcow2" --public --property distribution=ubuntu --property hw_disk_bus=scsi --property hw_scsi_model=virtio-scsi --property hw_qemu_guest_agent=yes --property image_original_user=debian --progress --min-disk 5 && \
rsync /tmp/ubuntu-23.10-server.qcow2 /tmp/ubuntu-23.10-server-test.qcow2 && \
virt-customize -a /tmp/ubuntu-23.10-server.qcow2 --root-password password:root && \
openstack image create --disk-format qcow2 --container-format bare --file /tmp/ubuntu-23.10-server-test.qcow2 "TEST - Ubuntu server 23.10 (Mantic Minotaur) qcow2" --public --property distribution=ubuntu --property hw_disk_bus=scsi --property hw_scsi_model=virtio-scsi --property hw_qemu_guest_agent=yes --property image_original_user=debian --progress --min-disk 5

Ubuntu 24.04 LTS

1
2
3
4
5
wget -nc https://cloud-images.ubuntu.com/releases/24.04/release/ubuntu-24.04-server-cloudimg-amd64.img -O /tmp/ubuntu-24.04-server.qcow2 && \
openstack image create --disk-format qcow2 --container-format bare --file /tmp/ubuntu-24.04-server.qcow2 "Ubuntu server 24.04 LTS (Noble Numbat) qcow2" --public --property distribution=ubuntu --property hw_disk_bus=scsi --property hw_scsi_model=virtio-scsi --property hw_qemu_guest_agent=yes --property image_original_user=debian --progress --min-disk 5 && \
rsync /tmp/ubuntu-24.04-server.qcow2 /tmp/ubuntu-24.04-server-test.qcow2 && \
virt-customize -a /tmp/ubuntu-24.04-server-test.qcow2 --root-password password:root && \
openstack image create --disk-format qcow2 --container-format bare --file /tmp/ubuntu-24.04-server-test.qcow2 "TEST - Ubuntu server 24.04 LTS (Noble Numbat) qcow2" --public --property distribution=ubuntu --property hw_disk_bus=scsi --property hw_scsi_model=virtio-scsi --property hw_qemu_guest_agent=yes --property image_original_user=debian --progress --min-disk 5

Cirros 0.6.2

  • username: cirros
  • password: gocubsgo
1
2
wget -nc http://download.cirros-cloud.net/0.6.2/cirros-0.6.2-x86_64-disk.img -O /tmp/cirros-0.6.2.qcow2 && \
openstack image create --disk-format qcow2 --container-format bare --file /tmp/cirros-0.6.2.qcow2 "TEST - CirrOS 0.6.2 qcow2" --public --property distribution=ubuntu --property hw_disk_bus=scsi --property hw_scsi_model=virtio-scsi --property hw_qemu_guest_agent=yes --property image_original_user=debian --progress --min-disk 5