Red Hat Training

A Red Hat training course is available for Red Hat Satellite

Chapter 18. Namespace: kickstart.profile.keys

Provides methods to access and modify the list of activation keys associated with a kickstart profile.
Namespace: kickstart.profile.keys

18.1. Method: addActivationKey

Description

Add an activation key association to the kickstart profile.

Parameters

The following parameters are available for this method:

  • string sessionKey
  • string ksLabel - The kickstart profile label
  • string key - The activation key
Returns

The following return values are available for this method:

  • int - 1 on success, exception thrown otherwise.