Commit 4cf6de23 by Antonio Terceiro Committed by Stéphane Graber

lxc-debian: skip security updates for unstable/sid

There is no such thing as security support for unstable/sid. Signed-off-by: 's avatarAntonio Terceiro <terceiro@debian.org> Acked-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent 4d7a0e42
...@@ -159,8 +159,13 @@ write_sourceslist() ...@@ -159,8 +159,13 @@ write_sourceslist()
cat >> "${rootfs}/etc/apt/sources.list" << EOF cat >> "${rootfs}/etc/apt/sources.list" << EOF
${prefix} $MIRROR ${release} main contrib non-free ${prefix} $MIRROR ${release} main contrib non-free
EOF
if [ "$release" != "unstable" -a "$release" != "sid" ]; then
cat >> "${rootfs}/etc/apt/sources.list" << EOF
${prefix} $SECURITY_MIRROR ${release}/updates main contrib non-free ${prefix} $SECURITY_MIRROR ${release}/updates main contrib non-free
EOF EOF
fi
} }
configure_debian_systemd() configure_debian_systemd()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment