diff --git a/install-deps.sh b/install-deps.sh index d28ddb382a875..0c3e9b09c8b55 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -124,8 +124,7 @@ else $SUDO yum install -y yum-utils MAJOR_VERSION=$(lsb_release -rs | cut -f1 -d.) if test $(lsb_release -si) = RedHatEnterpriseServer ; then - $SUDO yum install subscription-manager - $SUDO subscription-manager repos --enable=rhel-$MAJOR_VERSION-server-optional-rpms + $SUDO yum-config-manager --enable rhel-$MAJOR_VERSION-server-optional-rpms fi $SUDO yum-config-manager --add-repo https://dl.fedoraproject.org/pub/epel/$MAJOR_VERSION/x86_64/ $SUDO yum install --nogpgcheck -y epel-release