]> git.proxmox.com Git - mirror_lxc.git/commit
lxc-ubuntu: use release-updates and release-security
authorSerge Hallyn <serge.hallyn@canonical.com>
Mon, 23 Jan 2012 18:05:40 +0000 (12:05 -0600)
committerDaniel Lezcano <daniel.lezcano@free.fr>
Sun, 26 Feb 2012 09:44:40 +0000 (10:44 +0100)
commit2e44ed1e647d9fd1544b7ad855bda22ca71abd12
tree5bb91e9027fc543803d9d4ff763c0f3ad3add6d1
parent2407e68ef2a1bc26323334a3249bdd64337ccd91
lxc-ubuntu: use release-updates and release-security

Particularly for LTS releases, which many people will want to use in
their containers, it is not wise to not use -security and -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 apt-get upgrade under chroot.
Unfortunately we need to do this because debootstrap doesn't know how
to.

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