Merge "set rhel minor release"

This commit is contained in:
Zuul 2019-02-25 08:11:56 +00:00 committed by Gerrit Code Review
commit b2e2d121f0
2 changed files with 6 additions and 0 deletions

View File

@ -124,6 +124,9 @@ case "${REG_METHOD:-}" in
fi fi
echo "Enabling repos: $repos" echo "Enabling repos: $repos"
subscription-manager $repos subscription-manager $repos
if [ -n "${REG_RELEASE:-}" ]; then
subscription-manager release --set=${REG_RELEASE}
fi
;; ;;
satellite) satellite)
# Save an unmodified copy of the repo list for logging # Save an unmodified copy of the repo list for logging

View File

@ -102,6 +102,9 @@ case "${REG_METHOD:-}" in
subscription-manager repos --disable=\* subscription-manager repos --disable=\*
echo "Enabling repos: $repos" echo "Enabling repos: $repos"
subscription-manager $repos subscription-manager $repos
if [ -n "${REG_RELEASE:-}" ]; then
subscription-manager release --set=${REG_RELEASE}
fi
;; ;;
satellite) satellite)
# Save an unmodified copy of the repo list for logging # Save an unmodified copy of the repo list for logging