Add RH8 content to redhat_import

  • KM03538263
  • 14-Oct-2019
  • 27-Apr-2021

Summary

How to add the proper content labels to enable downloading of RH 8 patches using redhat_import.

Question

RH 8 agent support has been released for SA and new entries in the /etc/opt/opsware/rhn_import/redhat_import.conf file are necessary to enable redhat_import to download patches from Redhat using the redhat_import utility.

Answer

The "os" labels are needed for patches, the "appstream" labels are an example of how to add other streams available from RH.

For Example:

content_labels:
        rhel-8-for-x86_64-baseos-rpms{8}
        rhel-8-for-x86_64-appstream-rpms{8}

[rhel-8-for-x86_64-baseos-rpms{8}]
platform=Red Hat Enterprise Linux 8 X86_64

[rhel-8-for-x86_64-appstream-rpms{8}]
platform=Red Hat Enterprise Linux 8 X86_64