Skip to content

Commit

Permalink
Fixes #37496 - RHEL registration template priority
Browse files Browse the repository at this point in the history
Changed priority on subman_org to use host_parm if present, then use katello generated org
  • Loading branch information
aburhinox authored and stejskalleos committed Jul 29, 2024
1 parent 033aeb3 commit 55d2a0d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ test_on:
-%>
<%
subman_keys = host_param('kt_activation_keys') || host_param('activation_key')
subman_org = (plugin_present?('katello') && @host.rhsm_organization_label) || host_param('subscription_manager_org')
subman_org = host_param('subscription_manager_org') || (plugin_present?('katello') && @host.rhsm_organization_label)
subman_registration = host_param_true?('subscription_manager') || subman_keys.present?
subman_hostname = " --server-hostname #{@host.content_source.rhsm_url.host}" if (plugin_present?('katello') && @host.content_source)
subman_rhsm_baseurl = " --rhsm-baseurl #{@host.content_source.pulp_content_url}" if (plugin_present?('katello') && @host.content_source)
Expand Down

0 comments on commit 55d2a0d

Please sign in to comment.