From 9911b84540e73cacb94067ee4f48303196234b82 Mon Sep 17 00:00:00 2001 From: Daniel Juarez Gonzalez <daniel.juarez.gonzalez@cern.ch> Date: Fri, 15 May 2020 09:58:52 +0000 Subject: [PATCH] Update upload2openstack.sh, README.md files --- README.md | 11 +++++++---- upload2openstack.sh | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2f7aeab..9b871b0 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 660b554..f19ed12 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 -- GitLab