Skip to content

Commit

Permalink
Refs #36688 - Provide option to use wget for the new Register Host fe…
Browse files Browse the repository at this point in the history
…ature
  • Loading branch information
goarsna committed Oct 5, 2023
1 parent 4c88d74 commit e469840
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ echo "#"
<% if plugin_present?('katello') && activation_keys.present? -%>
register_katello_host(){
UUID=$(subscription-manager identity | grep --max-count 1 --only-matching '\([[:xdigit:]]\{8\}-[[:xdigit:]]\{4\}-[[:xdigit:]]\{4\}-[[:xdigit:]]\{4\}-[[:xdigit:]]\{12\}\)')
<%= registration_command-%> $KATELLO_SERVER_CA_CERT "<%= @registration_url %>"" \
<%= registration_command-%> $KATELLO_SERVER_CA_CERT "<%= @registration_url %>" \
<%= headers.join(' ') %> \
<%= " #{data_key} \"uuid=$UUID\" \\\n" -%>
<%= " #{data_key} \"host[build]=false\" \\\n" -%>
Expand Down

0 comments on commit e469840

Please sign in to comment.