Linux cloud images: Difference between revisions
Mandulete1 (talk | contribs) |
Mandulete1 (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 92: | Line 92: | ||
Rocky-8-GenericCloud-8.5-x86_64 | Rocky-8-GenericCloud-8.5-x86_64 | ||
= ubuntu 20.04 = | = ubuntu 20.04 = | ||
Line 138: | Line 104: | ||
--file bionic-server-cloudimg-amd64.raw \ | --file bionic-server-cloudimg-amd64.raw \ | ||
Ubuntu-20.04-x86_64 | Ubuntu-20.04-x86_64 | ||
= debian 11 = | = debian 11 = | ||
download cloud images: | download cloud images: | ||
Line 174: | Line 119: | ||
= debian 12 = | = debian 12 = | ||
download cloud images: | download cloud images: | ||
wget http://cdimage.debian.org/cdimage/ | wget http://cdimage.debian.org/cdimage/cloud/bookworm/latest/debian-12-generic-amd64.qcow2 | ||
convert image to raw: | convert image to raw: | ||
qemu-img convert -f qcow2 -O raw debian-12- | qemu-img convert -f qcow2 -O raw debian-12-generic-amd64.qcow2 debian-12-generic-amd64.raw -p | ||
upload to openstack: | upload to openstack: | ||
openstack image create \ | openstack image create \ | ||
--container-format bare \ | --container-format bare \ | ||
--disk-format raw \ | --disk-format raw \ | ||
--file debian-12- | --file debian-12-generic-amd64.raw \ | ||
Debian-12-amd64 | Debian-12-amd64 | ||
Latest revision as of 02:58, 20 September 2024
default Login credentials
below are the default login usernames for instances created from the images added shortly.
Debian: debian Fedora: fedora Ubuntu: ubuntu RHEL: cloud-user CentOS: centos coreos: core Arch Linux: arch Gentoo: gentoo OpenSUSE: root Cirros: username: cirros Password: cubswin:)
customize image
customize rhel8 image:
wget https://download.libguestfs.org/binaries/appliance/appliance-1.46.0.tar.xz tar xvf appliance-1.46.0.tar.xz -C $HOME/ export LIBGUESTFS_BACKEND=direct export LIBGUESTFS_PATH=$HOME/appliance/ virt-customize -a rhel-8.0.qcow2 --root-password password:mypassword virt-customize -a rhel-8.0.qcow2 --uninstall cloud-init
cirros
download cloud image:
wget http://download.cirros-cloud.net/0.5.0/cirros-0.5.0-x86_64-disk.img
convert image to raw:
qemu-img convert -f qcow2 -O raw cirros-0.5.0-x86_64-disk.img cirros-0.5.0-x86_64-disk.raw -p
add image to openstack:
openstack image create \ --container-format bare \ --disk-format raw \ --file cirros-0.5.0-x86_64-disk.raw \ Cirros-0.5.0-x86_64
fedora
download cloud image:
wget https://download.fedoraproject.org/pub/fedora/linux/releases/35/Cloud/x86_64/images/Fedora-Cloud-Base-35-1.2.x86_64.qcow2
convert image to raw:
qemu-img convert -f qcow2 -O raw Fedora-Cloud-Base-35-1.2.x86_64.qcow2 Fedora-Cloud-Base-35-1.2.x86_64.raw -p
add image to openstack:
openstack image create \ --container-format bare \ --disk-format raw \ --file Fedora-Cloud-Base-35-1.2.x86_64.raw \ Fedora-35-x86_64
almalinux 8
download cloud image:
wget https://repo.almalinux.org/almalinux/8/cloud/x86_64/images/AlmaLinux-8-GenericCloud-latest.x86_64.qcow2
convert image to raw:
qemu-img convert -f qcow2 -O raw AlmaLinux-8-GenericCloud-latest.x86_64.qcow2 AlmaLinux-8-GenericCloud-latest.x86_64.raw -p
add image to openstack:
openstack image create \ --container-format bare \ --disk-format raw \ --file AlmaLinux-8-GenericCloud-latest.x86_64.raw \ AlmaLinux-8-x86_64
almalinux 9
download cloud image:
wget https://repo.almalinux.org/almalinux/9/cloud/x86_64/images/AlmaLinux-9-GenericCloud-latest.x86_64.qcow2
convert image to raw:
qemu-img convert -f qcow2 -O raw AlmaLinux-9-GenericCloud-latest.x86_64.qcow2 AlmaLinux-9-GenericCloud-latest.x86_64.raw -p
add image to openstack:
openstack image create \ --container-format bare \ --disk-format raw \ --file AlmaLinux-9-GenericCloud-latest.x86_64.raw \ AlmaLinux-9-x86_64
openeuler
download cloud image:
wget https://mirror.sjtu.edu.cn/openeuler/openEuler-20.03-LTS/virtual_machine_img/x86_64/openEuler-20.03-LTS.x86_64.qcow2.xz
convert image to raw:
qemu-img convert -f qcow2 -O raw openEuler-20.03-LTS.x86_64.qcow2 openEuler-20.03-LTS.x86_64.raw -p
add image to openstack:
openstack image create \ --container-format bare \ --disk-format raw \ --file openEuler-20.03-LTS.x86_64.raw \ openEuler-20.03-LTS.x86_64
rockylinux
download cloud image:
wget https://download.rockylinux.org/pub/rocky/8.5/images/Rocky-8-GenericCloud-8.5-20211114.2.x86_64.qcow2
convert image to raw:
qemu-img convert -f qcow2 -O raw Rocky-8-GenericCloud-8.5-20211114.2.x86_64.qcow2 Rocky-8-GenericCloud-8.5-20211114.2.x86_64.raw -p
add image to openstack:
openstack image create \ --container-format bare \ --disk-format raw \ --file Rocky-8-GenericCloud-8.5-20211114.2.x86_64.qcow2 \ Rocky-8-GenericCloud-8.5-x86_64
ubuntu 20.04
download cloud image:
wget http://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img
convert image to raw:
qemu-img convert -f qcow2 -O raw focal-server-cloudimg-amd64.img focal-server-cloudimg-amd64.raw -p
upload to openstack:
openstack image create \ --container-format bare \ --disk-format raw \ --file bionic-server-cloudimg-amd64.raw \ Ubuntu-20.04-x86_64
debian 11
download cloud images:
wget http://cdimage.debian.org/cdimage/cloud/bullseye/latest/debian-11-generic-arm64.qcow2
convert image to raw:
qemu-img convert -f qcow2 -O raw debian-11-generic-arm64.qcow2 debian-11-generic-arm64.raw -p
upload to openstack:
openstack image create \ --container-format bare \ --disk-format raw \ --file debian-11-generic-arm64.raw \ Debian-11-amd64
debian 12
download cloud images:
wget http://cdimage.debian.org/cdimage/cloud/bookworm/latest/debian-12-generic-amd64.qcow2
convert image to raw:
qemu-img convert -f qcow2 -O raw debian-12-generic-amd64.qcow2 debian-12-generic-amd64.raw -p
upload to openstack:
openstack image create \ --container-format bare \ --disk-format raw \ --file debian-12-generic-amd64.raw \ Debian-12-amd64
archlinux
download cloud image:
wget https://linuximages.de/openstack/arch/arch-openstack-LATEST-image-bootstrap.qcow2
convert image to raw:
qemu-img convert -f qcow2 -O raw arch-openstack-LATEST-image-bootstrap.qcow2 arch-openstack-LATEST-image-bootstrap.raw -p
adding image to openstack:
openstack image create \ --container-format bare \ --disk-format raw \ --file arch-openstack-LATEST-image-bootstrap.raw \ Arch-Linux-x86_64
gentoo
download cloud image:
wget https://linuximages.de/openstack/gentoo/gentoo-openstack-LATEST-image-bootstrap.qcow2
convert image to raw:
qemu-img convert -f qcow2 -O raw gentoo-openstack-LATEST-image-bootstrap.qcow2 gentoo-openstack-LATEST-image-bootstrap.raw -p
adding image to openstack:
openstack image create \ --container-format bare \ --disk-format raw \ --file gentoo-openstack-LATEST-image-bootstrap.raw \ Gentoo-Linux-x86_64
windows
adding Windowserver 2012 image: Download image from https://cloudbase.it/windows-cloud-images/#download
gunzip -cd windows_server_2012_r2_standard_eval_kvm_20170321.qcow2.gz openstack image create \ --container-format bare \ --disk-format qcow2 \ --file windows_server_2012_r2_standard_eval_kvm_20170321.qcow2 \ Windows-Server-2012-R2-Std