Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refs #38094 - Unify inputs in convert2rhel_analyze with ForemanAnsible template #937

Merged
merged 1 commit into from
Jan 10, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions app/views/templates/script/convert2rhel_analyze.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading