From e6a0d179dfb464e81c41b8939120fbe3105674e6 Mon Sep 17 00:00:00 2001 From: Markus Reisner Date: Mon, 4 Sep 2023 16:36:58 +0200 Subject: [PATCH] Refs #36688 - Provide option to use wget for the new Register Host feature --- .../registration/global_registration.erb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/views/unattended/provisioning_templates/registration/global_registration.erb b/app/views/unattended/provisioning_templates/registration/global_registration.erb index ac3c1f42b953..33ce7aa333d9 100644 --- a/app/views/unattended/provisioning_templates/registration/global_registration.erb +++ b/app/views/unattended/provisioning_templates/registration/global_registration.erb @@ -109,13 +109,9 @@ fi <% if @download_utility == 'curl' data_keyword = "--data" -else - data_keyword = "--post-data" -end - -if @download_utility == 'curl' registration_command="curl --silent --show-error --request POST --cacert" else + data_keyword = "--post-data" registration_command="wget --no-verbose -O- --ca-certificate" end %>