aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerge Hallyn <serge.hallyn@canonical.com>2012-02-09 10:53:08 -0600
committerDaniel Lezcano <daniel.lezcano@free.fr>2012-02-26 10:44:40 +0100
commit6880563d9d688ed3739deb7c914b66e02cb726a6 (patch)
tree65d6a3900c0e1fd38fea5636bdc74b88bd005181
parentsilence netstat warnings in lxc-ls (diff)
downloadlxc-6880563d9d688ed3739deb7c914b66e02cb726a6.tar.gz
lxc-6880563d9d688ed3739deb7c914b66e02cb726a6.tar.bz2
lxc-6880563d9d688ed3739deb7c914b66e02cb726a6.zip
Don't install lxcguest in precise (and higher) releases
lxcguest is no longer needed, as precise should boot in a container un-modified. Signed-off-by: Serge Hallyn <serge.hallyn@canonical.com> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
-rw-r--r--templates/lxc-ubuntu.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/lxc-ubuntu.in b/templates/lxc-ubuntu.in
index 257db02..2723912 100644
--- a/templates/lxc-ubuntu.in
+++ b/templates/lxc-ubuntu.in
@@ -426,7 +426,8 @@ post_process()
if [ $trim_container -eq 1 ]; then
trim $rootfs $release
- else
+ elif [ $release = "lucid" -o $release = "maverick" -o $release = "natty" \
+ -o $release = "oneiric" ]; then
# for lucid and maverick, if not trimming, then add the ubuntu-virt
# ppa and install lxcguest
if [ $release = "lucid" -o $release = "maverick" ]; then