From: Serge Hallyn Date: Thu, 9 Feb 2012 16:53:08 +0000 (-0600) Subject: Don't install lxcguest in precise (and higher) releases X-Git-Tag: lxc-0.8.0-rc2~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6880563d9d688ed3739deb7c914b66e02cb726a6;p=thirdparty%2Flxc.git 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 --- 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