Merge "Disable all repos in os-refresh-config too"

This commit is contained in:
Jenkins 2016-11-18 00:23:04 +00:00 committed by Gerrit Code Review
commit eeb9e0e4a6
1 changed files with 2 additions and 0 deletions

View File

@ -131,6 +131,8 @@ case "${REG_METHOD:-}" in
rpm -Uvh "$REG_SAT_URL/pub/katello-ca-consumer-latest.noarch.rpm" || true
echo "Registering with options: $sanitized_opts"
subscription-manager register $opts
echo "Disabling all previous repos"
subscription-manager repos --disable=\*
echo "Enabling repos: $user_repos"
subscription-manager $repos
echo "Installing katello-agent"