]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Don't install lxcguest in precise (and higher) releases
authorSerge Hallyn <serge.hallyn@canonical.com>
Thu, 9 Feb 2012 16:53:08 +0000 (10:53 -0600)
committerDaniel Lezcano <daniel.lezcano@free.fr>
Sun, 26 Feb 2012 09:44:40 +0000 (10:44 +0100)
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>
templates/lxc-ubuntu.in

index 257db02a8e3b7f683c59f321c71166de83dd38a2..2723912134661673b1dcb44dbe41a5b163ff50d5 100644 (file)
@@ -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