Tuesday, February 25, 2014

subscription-manager cheat sheet

Red Hat is moving from RHN Classic to Red Hat Subscription Management so you may want to start using subscription-manager instead of rhn_register. Here's a cheat sheet on how to register your system to the CDN, attach to what should be the appropriate channel, see other repos and add an extra repo. For more info see the documentation.

subscription-manager register
subscription-manager attach --auto
subscription-manager list --available
subscription-manager repos --enable=rhel-6-server-optional-rpms

No comments: