]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa/*/test_envlibrados_for_rocksdb.sh: subscrib repo
authorNitzan Mordechai <nmordech@redhat.com>
Sun, 12 Feb 2023 07:14:23 +0000 (07:14 +0000)
committerNitzan Mordechai <nmordech@redhat.com>
Sun, 12 Feb 2023 08:54:26 +0000 (08:54 +0000)
subscription-manager repos will fail with 'does not match a valid repository ID'
we should use dnf config-manager --set-enabled instead

Fixes: https://tracker.ceph.com/issues/58560
Signed-off-by: Nitzan Mordechai <nmordec@redhat.com>
qa/workunits/rados/test_envlibrados_for_rocksdb.sh

index 371452f404292b1c05f779613c0e44c4f87371b2..e072b829984453fa94130d0cb0d751d9a223a10b 100755 (executable)
@@ -26,7 +26,7 @@ case $(distro_id) in
         case $(distro_id) in
             rhel)
                 # RHEL needs CRB repo for snappy-devel
-                sudo subscription-manager repos --enable "codeready-builder-for-rhel-8-x86_64-rpms"
+                sudo dnf config-manager --set-enabled "codeready-builder-for-rhel-8-x86_64-rpms" 
                 ;;
         esac
         install git gcc-c++.x86_64 snappy-devel zlib zlib-devel bzip2 bzip2-devel libradospp-devel.x86_64 cmake libarchive-3.3.3