11.3. Editing Activation Keys

This section describes how to edit activation keys.

11.3.1. Using Auto-Attach with an Activation Key

The auto-attach setting of an activation key determines what subscriptions are automatically attached during registration. If auto-attach is enabled, the activation key will only consume the minimum Red Hat products required to make the subscription valid.

Note

Auto-attach is enabled by default when an activation key is created. If auto-attach is disabled, every possible subscription on the key that can be attached will be attached on registration.

Procedure 11.3. To Edit Auto-Attach on an Activation Key:

  1. Click ContentActivation Keys.
  2. Click the activation key name that you want to edit.
  3. Click the Subscriptions tab.
  4. Select the edit box next to Auto-Attach.
  5. Select the check box to enable auto-attach.
  6. Click Save.

11.3.2. Setting a Service Level for an Activation Key

An activation key can be configured to define a default service level for the new host created with the activation key. Setting a default service level will select only the matching subscriptions to be attached to the host. For example, if the default service level on an activation key is set to Premium, only subscriptions with premium service levels will be attached to the host upon registration.

Procedure 11.4. To Set the Service Level on an Activation Key:

  1. Click ContentActivation Keys.
  2. Click the activation key name you want to edit.
  3. Click the Details tab.
  4. Select the edit box next to Service Level.
  5. Select the required service level from the drop-down list. The drop-down list only contains service levels available to the activation key.
  6. Click Save.

11.3.3. Adding Subscriptions to an Activation Key

This section describes how to add subscriptions to an activation key. Subscriptions can be associated with activation keys so that hosts utilizing the activation keys will be automatically attached to the associated subscriptions upon registering with the Satellite Server.

Procedure 11.5. To Add a Subscription to an Activation Key:

  1. Click ContentActivation Keys.
  2. Click the name of the activation key you want to edit.
  3. Click SubscriptionsAdd.
  4. From the list of available subscriptions, select the subscriptions you want to add and then click Add Selected.

11.3.4. Adding Host Collections to an Activation Key

These steps show how to add host collections to an activation key. Host collections can be associated with activation keys so that hosts utilizing the activation keys will automatically be added to the associated host collections upon registering with the Satellite Server.

Procedure 11.6. To Add Host Collections to an Activation Key:

  1. Click ContentActivation Keys.
  2. Click the activation key that you want to add a host collection to.
  3. Click Host Collections and then click Add to display the list of available host collections.
  4. Select the host collections you want to add, and then click Add Selected to add the host collections to the activation key.

Note

After you have added the host collections to the activation key, they no longer appear in the list of available collections. To view the host collections that have been added to an activation key, click List/Remove.

11.3.5. Editing Product Content on an Activation Key

The default value of products can be edited on the Product Content tab. This tab shows the repository content sets that are currently available to an activation key. The default setting for product content will determine if a product is enabled at registration. The default setting varies on a product by product basis with the exception of custom products which default to Yes.

Note

Changing default settings for content hosts that register with an activation key requires subscription-manager version 1.10 or later to be installed on that host.

Procedure 11.7. To Edit Product Content on an Activation Key:

  1. Click ContentActivation Keys.
  2. Click the activation key name that you want to edit.
  3. Click the Product Content tab.
  4. Click the edit box next to the required product.
  5. Select either Yes (Default) or Override to No.
  6. Click Save.

11.3.6. Removing Subscriptions from an Activation Key

These steps show how to remove subscriptions from an activation key.

Procedure 11.8. To Remove Subscriptions from an Activation Key:

  1. Click ContentActivation Keys.
  2. A list of activation keys is displayed. Click the activation key you want to remove subscriptions from.
  3. Click the Subscriptions subtab.
  4. A list of subscriptions is displayed. Select the subscriptions to be removed.
  5. Click Remove Selected to remove subscriptions from the activation key.

11.3.7. Removing Host Collections from an Activation Key

These steps show how to remove host collections from an activation key.

Procedure 11.9. To Remove Host Collections from the Activation Key:

  1. Click ContentActivation Keys.
  2. A list of activation keys is displayed. Click the activation key you want to remove host collections from.
  3. Click the Host Collections subtab.
  4. A list of host collections attached to the Activation Key is displayed. Select the check box of the host collections you want to remove.
  5. Click Remove Selected to remove host collections from the activation key.