Skip to content

Commit

Permalink
Fix package remove error and adapt script name for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
plorinc committed Jan 24, 2024
1 parent d72ad68 commit da70352
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions public/tools/rmt-client-setup-res7
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,9 @@ $RPM --import repomd.xml.key
$DNF_CONFIG_MGR --enable *suse.*

$DNF remove ${SLL_release_package}
$RPM -e centos-release
$RPM -e redhat-release
$RPM -e --nodeps centos-release
$RPM -e --nodeps redhat-release

$DNF install ${SLL_release_package}

# For RHEL8/CentOS8, remove all old signing keys and import SUSE keys installed with sles_es-release package
Expand All @@ -180,7 +181,7 @@ $RPM --import repomd.xml.key
#$DNF install SUSEConnect librepo

#$CURL --silent --show-error --insecure $REGURL/tools/rmt-client-setup --output rmt-client-setup
echo "Running rmt-client-setup $PARAMS"
echo "Running rmt-client-setup7 $PARAMS"
sh rmt-client-setup $PARAMS

if [[ ${SLL_version} > 8 ]]; then
Expand Down

0 comments on commit da70352

Please sign in to comment.