Skip to content

Commit

Permalink
Fix missing GPG key error when installing sles_es-release-package on …
Browse files Browse the repository at this point in the history
…CentOS7)
  • Loading branch information
plorinc committed Jul 7, 2024
1 parent 9bba005 commit 4e2a79d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions public/tools/rmt-client-setup-res
Original file line number Diff line number Diff line change
Expand Up @@ -225,14 +225,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
Expand Down

0 comments on commit 4e2a79d

Please sign in to comment.