qusal/salt/fedora/template.jinja

16 lines
491 B
Plaintext
Raw Normal View History

2023-11-13 09:33:28 -05:00
{#
2024-01-29 10:49:54 -05:00
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
2023-11-13 09:33:28 -05:00
SPDX-License-Identifier: AGPL-3.0-or-later
#}
{% set base = 'fedora' -%}
2024-06-12 09:00:59 -04:00
{% set version = salt['pillar.get']('qvm:fedora:version', '40') -%}
{% set flavor = '' -%}
2023-11-13 09:33:28 -05:00
{% set repo = salt['pillar.get']('qvm:fedora:repo', 'qubes-templates-itl') -%}
{% if flavor -%}
{% set flavor = '-' ~ flavor -%}
{% endif -%}
{% set template = base ~ '-' ~ version ~ flavor -%}
{% set template_clean = base ~ flavor -%}