Red Hat Training

A Red Hat training course is available for Red Hat Satellite

10.6. Method: clone

Description

Clone a channel. If arch_label is omitted, the architecture label of the original channel is used. If parent_label is omitted, the clone becomes a base channel.

Parameters

The following parameters are available for this method:

  • string sessionKey
  • string original_label
  • struct - channel details
    • string name
    • string label
    • string summary
    • string parent_label (optional)
    • string arch_label (optional)
    • string gpg_key_url (optional) - gpg_url can be used too
    • string gpg_key_id - (optional), gpg_id can be used too
    • string gpg_key_fp - (optional), gpg_fingerprint can be used too
    • string description - (optional)
  • boolean original_state
Returns

The following return values are available for this method:

  • int - the cloned channel ID