18 lines
602 B
Django/Jinja
18 lines
602 B
Django/Jinja
[{{ os }}{{ os_version_major }}-baseos]
|
|
name={{ os }} {{ os_version_major }} BaseOS
|
|
baseurl={{ system_cfg.content.url }}/BaseOS
|
|
enabled=1
|
|
gpgcheck={{ 1 if system_cfg.content.gpgcheck | bool else 0 }}
|
|
{% if system_cfg.content.proxy | length > 0 %}
|
|
proxy={{ system_cfg.content.proxy }}
|
|
{% endif %}
|
|
|
|
[{{ os }}{{ os_version_major }}-appstream]
|
|
name={{ os }} {{ os_version_major }} AppStream
|
|
baseurl={{ system_cfg.content.url }}/AppStream
|
|
enabled=1
|
|
gpgcheck={{ 1 if system_cfg.content.gpgcheck | bool else 0 }}
|
|
{% if system_cfg.content.proxy | length > 0 %}
|
|
proxy={{ system_cfg.content.proxy }}
|
|
{% endif %}
|