From e4698408a6bb3b8bf741cd5ab1b2d30e6efd9f08 Mon Sep 17 00:00:00 2001 From: Markus Reisner Date: Thu, 5 Oct 2023 13:23:57 +0200 Subject: [PATCH] Refs #36688 - Provide option to use wget for the new Register Host feature --- .../provisioning_templates/registration/global_registration.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/unattended/provisioning_templates/registration/global_registration.erb b/app/views/unattended/provisioning_templates/registration/global_registration.erb index b746a56675c8..24629aa6233d 100644 --- a/app/views/unattended/provisioning_templates/registration/global_registration.erb +++ b/app/views/unattended/provisioning_templates/registration/global_registration.erb @@ -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" -%>