summaryrefslogtreecommitdiff
path: root/templates/sources.list.debian.tmpl
diff options
context:
space:
mode:
authorJohann Queuniet <jqueuniet@users.noreply.github.com>2021-10-21 16:03:30 +0200
committerGitHub <noreply@github.com>2021-10-21 09:03:30 -0500
commit2107ad01949ec03c740b490bda70038ca55c7fa2 (patch)
tree444038ca71d19f024644d908cfa07310c19a5cb7 /templates/sources.list.debian.tmpl
parent8c89009e75c7cf6c2f87635b82656f07f58095e1 (diff)
downloadvyos-cloud-init-2107ad01949ec03c740b490bda70038ca55c7fa2.tar.gz
vyos-cloud-init-2107ad01949ec03c740b490bda70038ca55c7fa2.zip
Update Debian security suite for bullseye (#1076)
Diffstat (limited to 'templates/sources.list.debian.tmpl')
-rw-r--r--templates/sources.list.debian.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/sources.list.debian.tmpl b/templates/sources.list.debian.tmpl
index e7ef9ed1..e8a7c015 100644
--- a/templates/sources.list.debian.tmpl
+++ b/templates/sources.list.debian.tmpl
@@ -15,8 +15,8 @@ deb-src {{mirror}} {{codename}} main
## Major bug fix updates produced after the final release of the
## distribution.
-deb {{security}} {{codename}}/updates main
-deb-src {{security}} {{codename}}/updates main
+deb {{security}} {{codename}}{% if codename in ('buster', 'stretch') %}/updates{% else %}-security{% endif %} main
+deb-src {{security}} {{codename}}{% if codename in ('buster', 'stretch') %}/updates{% else %}-security{% endif %} main
deb {{mirror}} {{codename}}-updates main
deb-src {{mirror}} {{codename}}-updates main