From 7f77347cf8ff09b8eb0357cf648e269a83abf0e1 Mon Sep 17 00:00:00 2001 From: Sowmya Nethi Date: Fri, 8 Nov 2024 23:28:34 +0530 Subject: [PATCH] docs: Add RHEL and SUSE image details (#540) * docs: update openstack-glance-images.md with RHEL and SUSE image configuration details --- docs/openstack-glance-images.md | 55 ++++++++++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) diff --git a/docs/openstack-glance-images.md b/docs/openstack-glance-images.md index 57153876..db120371 100644 --- a/docs/openstack-glance-images.md +++ b/docs/openstack-glance-images.md @@ -336,4 +336,57 @@ openstack --os-cloud default image create \ --property os_version=15 \ openSUSE-Leap-15 ``` -  + +## Get SUSE + +!!! note + + Make sure you get the most up to date image from [here](https://www.suse.com/download/sles/). We downloaded the SLES15-SP6-Minimal-VM.x86_64-kvm-and-xen-QU1.qcow2 image. + +``` shell +openstack --os-cloud default image create \ + --progress \ + --disk-format qcow2 \ + --container-format bare \ + --public \ + --file SLES15-SP6-Minimal-VM.x86_64-kvm-and-xen-QU1.qcow2 \ + --property hw_vif_multiqueue_enabled=true \ + --property hw_qemu_guest_agent=yes \ + --property hypervisor_type=kvm \ + --property img_config_drive=optional \ + --property hw_machine_type=q35 \ + --property hw_firmware_type=uefi \ + --property os_require_quiesce=yes \ + --property os_type=linux \ + --property os_admin_user=sles \ + --property os_distro=sles \ + --property os_version=15-SP6 \ + SLES15-SP6 +``` + +## Get RHEL + +!!! note + + Make sure you download the latest available image from [here](https://access.redhat.com/downloads/content/479/ver=/rhel---9/9.4/x86_64/product-software). We used the rhel-9.4-x86_64-kvm.qcow2 image. + +``` shell +openstack --os-cloud default image create \ + --progress \ + --disk-format qcow2 \ + --container-format bare \ + --public \ + --file rhel-9.4-x86_64-kvm.qcow2 \ + --property hw_vif_multiqueue_enabled=true \ + --property hw_qemu_guest_agent=yes \ + --property hypervisor_type=kvm \ + --property img_config_drive=optional \ + --property hw_machine_type=q35 \ + --property hw_firmware_type=uefi \ + --property os_require_quiesce=yes \ + --property os_type=linux \ + --property os_admin_user=cloud-user \ + --property os_distro=rhel \ + --property os_version=9.4 \ + RHEL-9.4 +```