From 925b6314c156b88386f39591d10d8a2334d7b867 Mon Sep 17 00:00:00 2001 From: Jeremy Lenz Date: Wed, 20 Nov 2024 16:34:40 -0500 Subject: [PATCH] Fixes #38029 - Update subscription_manager_setup to use correct URLs for load-balanced smart proxies --- .../snippet/subscription_manager_setup.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/unattended/provisioning_templates/snippet/subscription_manager_setup.erb b/app/views/unattended/provisioning_templates/snippet/subscription_manager_setup.erb index ab80b19992f..43364e37ee4 100644 --- a/app/views/unattended/provisioning_templates/snippet/subscription_manager_setup.erb +++ b/app/views/unattended/provisioning_templates/snippet/subscription_manager_setup.erb @@ -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"