=====RHEL Subscription===== ====Main Commands to use==== ===Register first, then attach a subscription in the Customer Portal=== Use the following command to register a system without immediately attaching a subscription: # subscription-manager register ===Attach a specific subscription through the Customer Portal=== After registration, you can to assign a subscription to the registered system from the Customer Portal (Subscriptions --> Subscription Management --> Units --> ). After this, refresh the information on your machine using the following command. Be sure to run this any time you add or change the attached subscription from the Customer Portal: # subscription-manager refresh ===Attach a subscription from any available that match the system=== After registration, use the following command to attach any available subscription that matches the current system. # subscription-manager attach --auto ===Register with a specific pool=== After registration, use the following command to attach a subscription from a specific pool: # subscription-manager attach --pool= If you are not sure of the pool ID needed, these and details such as expiration dates can be viewed using the following command: # subscription-manager list --available --all Registration via GUI ===# subscription-manager-gui=== Systems can also be registered with to Customer Portal Subscription Management during the firstboot process or as part of the kickstart setup (both described in the Installation Guide) ===Unregistering a system=== # subscription-manager remove --all # subscription-manager unregister # subscription-manager clean ====LINKs used==== [[https://access.redhat.com/site/solutions/253273]] [[https://access.redhat.com/solutions/265523]]