On Sat, Jul 18, 2015 at 08:24:12PM -0300, Antonio Terceiro wrote:
> There is no such thing as security support for unstable/sid.
> 
> Signed-off-by: Antonio Terceiro <terce...@debian.org>

Acked-by: Stéphane Graber <stgra...@ubuntu.com>

> ---
>  templates/lxc-debian.in | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/templates/lxc-debian.in b/templates/lxc-debian.in
> index d9f0f03..3914605 100644
> --- a/templates/lxc-debian.in
> +++ b/templates/lxc-debian.in
> @@ -161,8 +161,13 @@ write_sourceslist()
>  
>      cat >> "${rootfs}/etc/apt/sources.list" << EOF
>  ${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
>  EOF
> +    fi
>  }
>  
>  install_packages()
> -- 
> 2.1.4
> 
> _______________________________________________
> lxc-devel mailing list
> lxc-devel@lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

Attachment: signature.asc
Description: Digital signature

_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to