red hat, ansible, openshift, openstack,

Red Hat Knowledge Base

Follow · 2 mins read
Share this

Reference Documents for Red Hat Products

1. Red Hat Subscription Management

# subscribe
subscription-manager register

# subscribe using username and password in line and auto-attach pool
subscription-manager register --username <username> --password <password> --auto-attach

# Pull the latest subscription data from the server
subscription-manager refresh

# Set a role for your system.
subscription-manager role --set="Red Hat Enterprise Linux Server"

# List available subscriptions
subscription-manager list --available

# attach subscription automatically with availalbe pool
subscription-manager attach --auto

# Use the pool ID of the subscription to attach the pool to the system.
subscription-manager attach --pool=<subscription-pool-id>

# examples for enabling repository
# enabling server repos
subscription-manager repos \
  --enable=rhel-7-server-rpms \

# enabling ansible repo
subscription-manager repos \
  --enable ansible-2-for-rhel-8-x86_64-rpms

# Unregistering a system
subscription-manager remove --all
subscription-manager unregister
subscription-manager clean

1.1. Subscription Reference

2. Repository & Satellite

3. Useful Links


Latest Stories