6.2. Enabling the Red Hat Enterprise Linux Host Repositories
To use a Red Hat Enterprise Linux machine as a host, you must register the system with the Content Delivery Network, attach the Red Hat Enterprise Linux Server and Red Hat Virtualization subscriptions, and enable the host repositories.
Procedure
Register your system with the Content Delivery Network, entering your Customer Portal user name and password when prompted:
# subscription-manager register
Find the
Red Hat Enterprise Linux ServerandRed Hat Virtualizationsubscription pools and note down the pool IDs:# subscription-manager list --available
Use the pool IDs to attach the subscriptions to the system:
# subscription-manager attach --pool=poolidNoteTo find out which subscriptions are currently attached, run:
# subscription-manager list --consumed
To list all enabled repositories, run:
# yum repolist
Disable all existing repositories:
# subscription-manager repos --disable=*
Enable the required repositories:
# subscription-manager repos --enable=rhel-7-server-rpms # subscription-manager repos --enable=rhel-7-server-rhv-4-mgmt-agent-rpms # subscription-manager repos --enable=rhel-7-server-ansible-2-rpms
If you are installing Red Hat Enterprise Linux 7 hosts, little endian on IBM POWER8 hardware, enable the following repositories instead:
# subscription-manager repos --enable=rhel-7-server-rhv-4-mgmt-agent-for-power-le-rpms # subscription-manager repos --enable=rhel-7-for-power-le-rpms
If you are installing Red Hat Enterprise Linux 7 hosts, little endian on IBM POWER9 hardware, enable the following repositories instead:
# subscription-manager repos --enable=rhel-7-server-rhv-4-mgmt-agent-for-power-9-rpms # subscription-manager repos --enable=rhel-7-for-power-9-rpms
Ensure that all packages currently installed are up to date:
# yum update
NoteReboot the machine if any kernel related packages have been updated.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.