5.2.3. Red Hat Network (RHN) parameters

These parameters are used to automatically register the hypervisor host with the Red Hat Network (RHN). At a minimum, either the rhn_activationkey or both the rhn_username and rhn_password parameters must be provided. If you are registering to a satellite server, the rhn_url parameter must be provided.
rhn_username
The rhn_username parameter sets the username used to connect to RHN.

Example 5.17. Setting a username of testuser

rhn_username=testuser

rhn_password
The rhn_password parameter sets the password used to connect to RHN.

Example 5.18. Setting a password of testpassword

rhn_password=testpassword

rhn_activationkey
The rhn_activationkey parameter sets the activation key used to connect to RHN. Activation keys are used to register systems, entitle them to an RHN service level, and subscribe them to specific channels and system groups, all in one action. If both rhn_activationkey and rhn_username are provided, the rhn_activationkey value will be used.

Example 5.19. Setting an activation key

rhn_activationkey=7202f3b7d218cf59b764f9f6e9fa281b

rhn_url
The rhn_url parameter sets the URL of the satellite server used to register the host.

Example 5.20. Setting a satellite server URL

rhn_url=https://your-satellite.example.com

rhn_ca_cert
The rhn_ca_cert parameter sets the URL of the CA certificate used to connect to the satellite server. If it is not provided, the default value is rhn_url/pub/RHN-ORG-TRUSTED-SSL-CERT

Example 5.21. Setting a CA certificate URL

rhn_ca_cert=https://your-satellite.example.com/pub/RHN-ORG-TRUSTED-SSL-CERT

rhn_profile
The rhn_profile parameter sets the name of the profile to be registered with RHN for this host. The default value is the system hostname.

Example 5.22. Setting a profile name of testhost

rhn_profile=testhost