How to set channels as not globally subscribable in Red Hat Portal
Environment
NA
Issue
- Customer would like to automatically set channels in the Portal as not globally subscribable.
Resolution
-
Use the Red Hat Network API to create a script to automatically set the global subscribe flag to false
-
The channel.listSoftwareChannels namespace and method can be used to create a list of channels to loop through
-
The channel.software.setGloballySubscribable namespace and method can be used to set the subscribable flag on the channel using the channel label as an argument
Root Cause
NA
Diagnostic Steps
NA
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments