Merge "Disable all repos in os-refresh-config too"
This commit is contained in:
commit
eeb9e0e4a6
@ -131,6 +131,8 @@ case "${REG_METHOD:-}" in
|
|||||||
rpm -Uvh "$REG_SAT_URL/pub/katello-ca-consumer-latest.noarch.rpm" || true
|
rpm -Uvh "$REG_SAT_URL/pub/katello-ca-consumer-latest.noarch.rpm" || true
|
||||||
echo "Registering with options: $sanitized_opts"
|
echo "Registering with options: $sanitized_opts"
|
||||||
subscription-manager register $opts
|
subscription-manager register $opts
|
||||||
|
echo "Disabling all previous repos"
|
||||||
|
subscription-manager repos --disable=\*
|
||||||
echo "Enabling repos: $user_repos"
|
echo "Enabling repos: $user_repos"
|
||||||
subscription-manager $repos
|
subscription-manager $repos
|
||||||
echo "Installing katello-agent"
|
echo "Installing katello-agent"
|
||||||
|
Loading…
Reference in New Issue
Block a user