add rc if statement

This commit is contained in:
Louis Abel 2022-06-17 00:16:21 -07:00
parent 1ae3c67ba6
commit adc0cd3b81
Signed by: label
GPG Key ID: B37E62D143879B36
3 changed files with 3 additions and 0 deletions

Binary file not shown.

View File

@ -17,6 +17,9 @@ sed -i '/{{ pkg }}/ s/^/#/' /usr/share/lorax/templates.d/80-rhel/runtime-install
lorax --product="${PRODUCT}" \
--version="${VERSION}" \
--release="${VERSION}" \
{%- if rc == '' %}
--isfinal \
{%- endif %}
{%- for repo in repos %}
--source={{ repo.url }} \
{%- endfor %}

Binary file not shown.