Disable all repos in os-refresh-config too
This change was made for pre-install so it applies during the image build, but wasn't applied to the os-refresh-config script that would run after deployment. The same problems apply there, so we should do the same thing. Change-Id: I4b8534cc9586eeb588b5c358550e76e27d40556a Closes-Bug: 1629922
This commit is contained in:
parent
be1e563524
commit
fb8cf95b6f
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user