Skip to content

Commit

Permalink
Fixes #38029 - Update subscription_manager_setup to use correct URLs …
Browse files Browse the repository at this point in the history
…for load-balanced smart proxies
  • Loading branch information
jeremylenz authored and stejskalleos committed Nov 29, 2024
1 parent 8e97632 commit afc6ac3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ fi
end
elsif @subman_setup_scenario == 'provisioning'
if plugin_present?('katello')
server_hostname = @host.content_source.rhsm_url.host
server_hostname = @host.content_source.registration_url.host
server_port = @host.content_source.rhsm_url.port
server_prefix = @host.content_source.rhsm_url.path
repo_ca_cert = "$KATELLO_SERVER_CA_CERT"
rhsm_baseurl = @host.content_source.pulp_content_url
rhsm_baseurl = @host.content_source.load_balancer_pulp_content_url
else
server_hostname = "subscription.rhsm.redhat.com"
server_port = "443"
Expand Down

0 comments on commit afc6ac3

Please sign in to comment.