Monday, October 28, 2019

subscription-manager commands

Register
# subscription-manager register

Not sure about specific pool id?
# subscription-manager list --available --all

Register with a specific pool
# subscription-manager attach --pool=POOL_ID

Attach a subscription from any available that match the system
# subscription-manager attach --auto

Disable repo:
# subscription-manager repos --disable ${REPO_NAME}

Enable repo:
# subscription-manager repos --enable ${REPO_NAME}

List repos assigned to your account:
# subscription-manager repos --list More info: https://access.redhat.com/solutions/253273


List all enabled repos:
# subscription-manager repos --list-enabled

No comments:

Post a Comment