]> git.proxmox.com Git - mirror_lxc.git/commit - templates/lxc-ubuntu.in
ubuntu template: use -updates and -security (v3)
authorSerge Hallyn <serge.hallyn@canonical.com>
Thu, 5 Jan 2012 22:34:46 +0000 (23:34 +0100)
committerDaniel Lezcano <daniel.lezcano@free.fr>
Thu, 5 Jan 2012 22:34:46 +0000 (23:34 +0100)
commit15da01b3938d7ba45472e6c9d3b183a94dd86ca9
treef2feebc9b770c6eaa715eac2fea74e0bf92ea95b
parent92c64f7ed5663756f3c72fef4f38349111cb2d3f
ubuntu template: use -updates and -security (v3)

Particularly for LTS releases, which many people will want to use in
their containers, it is not wise to not use release-security and
release-updates.  Furthermore the fix allowing ssh to allow the container
to shut down is in lucid-updates only.

With this patch, after debootstrapping a container, we add -updates and
-security to sources.list and do an upgrade under chroot.  Unfortunately
we need to do this because debootstrap doesn't know how to.

Changelog:
Nov 14: as Stéphane Graber suggested, make sure no daemons start on
the host while doing dist-upgrade from chroot.
Nov 15: use security.ubuntu.com, not mirror. (stgraber)

Signed-off-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
templates/lxc-ubuntu.in