Red Hat Training

A Red Hat training course is available for Red Hat Satellite

4.4. Method: addPackageNames

Description

Add packages to an activation key using package name only.

Note

This method is deprecated. Use the addPackages (string sessionKey, string key, array[packages]) method.
Parameters

The following parameters are available for this method:

  • string sessionKey
  • string key
  • array:
    • string - packageName
Returns

The following return values are available for this method:

  • int - 1 on success, exception thrown otherwise.
Available since: 10.2