diff --git a/app/models/katello/host/info_provider.rb b/app/models/katello/host/info_provider.rb index e698fedfd76..56a16b42426 100644 --- a/app/models/katello/host/info_provider.rb +++ b/app/models/katello/host/info_provider.rb @@ -16,6 +16,15 @@ def host_info if host.content_facet.present? info['parameters']['kickstart_repository'] = host.content_facet.kickstart_repository.try(:label) end + + if (rhsm_url = host.content_source&.rhsm_url) + info['parameters']['rhsm_url'] = rhsm_url.to_s + end + + if (content_url = host.content_source&.pulp_content_url) + info['parameters']['content_url'] = content_url.to_s + end + info end