diff --git a/README.md b/README.md index 2f7aeab7c38fe3ecec63fd878c0164a3b6913aac..9b871b03880782d44fba09b9d00fe4d5131220dc 100644 --- a/README.md +++ b/README.md @@ -66,12 +66,15 @@ A scheduled pipeline rebuilds the image once per month. ##### Red Hat Enterprise Linux images - These are upstream RHEL images converted from qcow2 to raw format (convertimage.sh), -downloaded from +These are upstream RHEL images converted from qcow2 to raw format (convertimage.sh), +downloaded from <https://access.redhat.com/downloads/> -```https://access.redhat.com/downloads/``` +Rename the downloaded image to match the following naming example: `rhel-server-8.2-20200515-1-x86_64.raw` -uploaded with ```upload2openstack.sh``` then shared using: +Upload it from a machine with [openstackclient](https://clouddocs.web.cern.ch/clients/linux_client_installation.html#centos-7), bear in mind you will need permissions +to run `guestfish` so you will not be able to use `aiadm`. + +Upload it with ```./upload2openstack.sh rhel8 prod x86_64 20200515``` then shared using: ```openstack image add project image-id project-id``` diff --git a/upload2openstack.sh b/upload2openstack.sh index 660b554e036cfb0d7c62ced5434154d6b7e44257..f19ed12de566b5d731917740738a4a4dc150c063 100755 --- a/upload2openstack.sh +++ b/upload2openstack.sh @@ -78,7 +78,7 @@ case $VER in [ x$ARCHS == "x" ] && ARCHS="x86_64" os_distro="RHEL" os_distro_major="8" - os_distro_minor="0" + os_distro_minor="2" IMGPREFIX="rhel-server-${os_distro_major}.${os_distro_minor}" ;; esac