2022-11-08 18:09:53 -06:00
|
|
|
# The configuration is generated by template
|
|
|
|
# Please add additional sources in /etc/apt/sources.list.d
|
|
|
|
|
2023-09-06 12:03:36 -05:00
|
|
|
{% if DISTRIBUTION == 'bookworm' -%}
|
|
|
|
{%- set nonfree_component='non-free-firmware' -%}
|
|
|
|
{%- else -%}
|
|
|
|
{%- set nonfree_component='non-free' -%}
|
|
|
|
{%- endif %}
|
|
|
|
|
2022-11-08 18:09:53 -06:00
|
|
|
{% for mirror_url in MIRROR_URLS.split(',') %}
|
2023-09-06 12:03:36 -05:00
|
|
|
deb [arch={{ ARCHITECTURE }}] {{ mirror_url }} {{ DISTRIBUTION }} main contrib {{ nonfree_component }}
|
|
|
|
deb-src [arch={{ ARCHITECTURE }}] {{ mirror_url }} {{ DISTRIBUTION }} main contrib {{ nonfree_component }}
|
|
|
|
deb [arch={{ ARCHITECTURE }}] {{ mirror_url }} {{ DISTRIBUTION }}-updates main contrib {{ nonfree_component }}
|
|
|
|
deb-src [arch={{ ARCHITECTURE }}] {{ mirror_url }} {{ DISTRIBUTION }}-updates main contrib {{ nonfree_component }}
|
|
|
|
deb [arch={{ ARCHITECTURE }}] {{ mirror_url }} {{ DISTRIBUTION }}-backports main contrib {{ nonfree_component }}
|
2022-11-08 18:09:53 -06:00
|
|
|
{% endfor %}
|
|
|
|
{% for mirror_url in MIRROR_SECURITY_URLS.split(',') %}
|
|
|
|
{% set dist_separator='/' %}{% if 'packages.trafficmanager.net/debian' in mirror_url %}{% set dist_separator='_' %}{% endif %}
|
|
|
|
{% if DISTRIBUTION == 'stretch' or DISTRIBUTION == 'buster' %}
|
|
|
|
deb [arch={{ ARCHITECTURE }}] {{ mirror_url }} {{ DISTRIBUTION }}{{ dist_separator }}updates main contrib non-free
|
|
|
|
deb-src [arch={{ ARCHITECTURE }}] {{ mirror_url }} {{ DISTRIBUTION }}{{ dist_separator }}updates main contrib non-free
|
|
|
|
{% else %}
|
2023-09-06 12:03:36 -05:00
|
|
|
deb [arch={{ ARCHITECTURE }}] {{ mirror_url }} {{ DISTRIBUTION }}-security main contrib {{ nonfree_component }}
|
|
|
|
deb-src [arch={{ ARCHITECTURE }}] {{ mirror_url }} {{ DISTRIBUTION }}-security main contrib {{ nonfree_component }}
|
2022-11-08 18:09:53 -06:00
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|