From 6880563d9d688ed3739deb7c914b66e02cb726a6 Mon Sep 17 00:00:00 2001 From: Serge Hallyn Date: Thu, 9 Feb 2012 10:53:08 -0600 Subject: [PATCH] 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 Signed-off-by: Daniel Lezcano --- templates/lxc-ubuntu.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/lxc-ubuntu.in b/templates/lxc-ubuntu.in index 257db02a8..272391213 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