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>
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