Hi all,
in some cases, you want to distribute content from Foreman/Katello to hosts without subscription-manager: either your Client OS does not provide subscription-manager at all, or you want to register a host to Foreman/Katello but there’s no subscription-manager (+dependencies) available yet.
If you know the structure of the URLs or read our documentation, you can consume versioned and unversioned content that is unprotected from Foreman/Katello: the URLs for .repo
and .sources
files all follow a specific structure and are publicly* available. It’s documented in Managing Content: Content views in Foreman (grep for “pulp/content” to get the URLs in your browser).
Request: Add a button to the WebUI that you can click to copy the URL of the Pulp repository on Foreman/Katello.
Intended usage: to help users register their hosts; e.g. when providing multiple “dependency repositories” in “Host Registration”:
Where to add these buttons: on the content view version page.
Bonus: Also add this to Hammer CLI and API.
Current state: tested with Foreman 3.10: Show URL repos structure of content on Katello by maximiliankolb · Pull Request #3062 · theforeman/foreman-documentation · GitHub
original PR in foreman-documentation: Show URL repos structure of content on Katello
Thanks,
Maximilian.