From b02529817a23f8c4ebcafc74af2e63eaaa313f8b Mon Sep 17 00:00:00 2001 From: Leos Stejskal Date: Mon, 6 Jan 2025 09:57:23 +0100 Subject: [PATCH] Refs #38094 - Unify inputs in convert2rhel_analyze with ForemanAnsible template --- app/views/templates/script/convert2rhel_analyze.erb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/templates/script/convert2rhel_analyze.erb b/app/views/templates/script/convert2rhel_analyze.erb index 37b8ef842..098c494d1 100644 --- a/app/views/templates/script/convert2rhel_analyze.erb +++ b/app/views/templates/script/convert2rhel_analyze.erb @@ -7,17 +7,17 @@ provider_type: script kind: job_template template_inputs: - name: ELS - required: true + required: false input_type: user description: Use an Extended Lifecycle Support (ELS) add-on subscription advanced: false value_type: plain - options: "true\nfalse" - default: "true" + options: "yes\r\nno" + default: "no" hidden_value: false %> <%- - els = input('ELS') == "true" ? "--els" : "" + els = input('ELS') == "yes" ? "--els" : "" -%> <% if @host.operatingsystem.family == 'Redhat' -%> if ! [ $(id -u) -eq 0 ]; then