diff --git a/xml/app-temp-script.xml b/xml/app-temp-script.xml index e0e5aaa..f127630 100644 --- a/xml/app-temp-script.xml +++ b/xml/app-temp-script.xml @@ -219,10 +219,20 @@ if [[ ${SLL_version} -gt 7 ]]; then $DNF config-manager --set-disabled "${RMTNAME}_repo_SUSE_Updates_${SLL_name}-AS_${SLL_version}_x86_64_update" elif [[ ${SLL_version} -eq 7 ]]; then - # For SLL7 we need to have yum, yum_config_mgr, sles_os-release-server, etc.. - if [ ! -x "$YUM_CONFIG_MGR" ]; then - echo "YUM config manager is not installed. Please install yum-config-manager and retry. Abort." - exit 1 + + # disable unavailable centos mirrors + sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo + sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo + sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo + + # Check for and install yum-config-manager if not available + if [ ! -x $YUM_CONFIG_MGR ]; then + echo "yum-config-manager not found. Attempting to install." + $YUM install -y yum-utils + if [ $? -ne 0 ]; then + echo "Failed to install yum-config-manager. Abort." + exit 1 + fi fi echo "Disabling all repositories" @@ -241,14 +251,15 @@ elif [[ ${SLL_version} -eq 7 ]]; then $YUM_CONFIG_MGR --enable *suse.* > /dev/null if [ ! -x $SUSECONNECT ]; then - $YUM install -y ${SLL_release_package} suseconnect-ng librepo + $YUM install -y --nogpgcheck ${SLL_release_package} + import_rpm_signing_keys + $YUM install -y suseconnect-ng librepo else $YUM update -y ${SLL_release_package} suseconnect-ng librepo fi $YUM update -y yum $YUM_CONFIG_MGR --disable \* > /dev/null - elif [[ ${SLL_version} -eq 8 ]]; then # For SLL8, the release package is already installed, just import the keys import_rpm_signing_keys diff --git a/xml/art-lite-quickstart.xml b/xml/art-lite-quickstart.xml index e1b4a8f..331f98f 100644 --- a/xml/art-lite-quickstart.xml +++ b/xml/art-lite-quickstart.xml @@ -43,6 +43,14 @@ Administration + + 2024-07-08 + + + Registration script now installs yum-utils. + + + 2024-07-01 diff --git a/xml/art-quickstart.xml b/xml/art-quickstart.xml index 04d4dfa..f02c496 100644 --- a/xml/art-quickstart.xml +++ b/xml/art-quickstart.xml @@ -43,6 +43,14 @@ Administration + + 2024-07-08 + + + Registration script now installs yum-utils. + + + 2024-07-01 diff --git a/xml/html/rh-art-lite-quickstart.html b/xml/html/rh-art-lite-quickstart.html index e4e1c70..929d54d 100644 --- a/xml/html/rh-art-lite-quickstart.html +++ b/xml/html/rh-art-lite-quickstart.html @@ -2,7 +2,7 @@ Revision History: Registering CentOS Linux 7 with SUSE Liberty LinuxSUSE Liberty Linux Lite - + @@ -40,7 +40,7 @@ } ], - "dateModified": "2024-07-01T00:00+02:00", + "dateModified": "2024-07-08T00:00+02:00", "datePublished": "2024-06-18T00:00+02:00", @@ -82,7 +82,11 @@ useBR: false }); -

Revision History: Registering CentOS Linux 7 with SUSE Liberty LinuxSUSE Liberty Linux Lite

2024-07-01

+

Revision History: Registering CentOS Linux 7 with SUSE Liberty LinuxSUSE Liberty Linux Lite

2024-07-08

+

+ Registration script now installs yum-utils. +

+

2024-07-01

Updates for LTSS.

diff --git a/xml/html/rh-art-quickstart.html b/xml/html/rh-art-quickstart.html index 7b47b4f..205d086 100644 --- a/xml/html/rh-art-quickstart.html +++ b/xml/html/rh-art-quickstart.html @@ -2,7 +2,7 @@ Revision History: Registering RHEL 7 or CentOS Linux 7 with RMT - + @@ -40,7 +40,7 @@ } ], - "dateModified": "2024-07-01T00:00+02:00", + "dateModified": "2024-07-08T00:00+02:00", "datePublished": "2024-03-14T00:00+02:00", @@ -82,7 +82,11 @@ useBR: false }); -

Revision History: Registering RHEL 7 or CentOS Linux 7 with RMT

2024-07-01

+

Revision History: Registering RHEL 7 or CentOS Linux 7 with RMT

2024-07-08

+

+ Registration script now installs yum-utils. +

+

2024-07-01

Updates for LTSS.

diff --git a/xml/register-with-rmt.xml b/xml/register-with-rmt.xml index a5acab7..15de44a 100644 --- a/xml/register-with-rmt.xml +++ b/xml/register-with-rmt.xml @@ -51,13 +51,6 @@ CentOS Linux &productnumber;. - - - The package yum-utils is installed on the system you want to register. - This package is installed by default in most installations, but not in a - Minimal Install. - - You have a &productname; subscription activated in the &scc;.