-
Check if
subscription-manageris installed. If not, install it viayum install subscription-manager. -
Delete host on the RHN site.
-
"Unregister" host from RHN:
rm -rf /etc/sysconfig/rhn/systemid- Add host via the following commands:
subscription-manager register --username [email protected] --password PASSWORD --auto-attach
subscription-manager repos --enable rhel-6-server-optional-rpmsSame steps as for the server. The only think that changes, is the workstation optional repo name. Enable it via the following command:
subscription-manager repos --enable rhel-6-workstation-optional-rpmsFor RHEL 7, just use the repos rhel-7-server-optional-rpms and rhel-7-workstation-optional-rpms.