]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
add lxc-lenny template
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Fri, 14 Jan 2011 08:51:13 +0000 (09:51 +0100)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Fri, 14 Jan 2011 08:51:13 +0000 (09:51 +0100)
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
templates/lxc-lenny.in

index a0cde81bf8651f0fa415424696d299bf88c1a457..8c051d91606e2c60c967dcbfbe9170ba70e3c25b 100644 (file)
@@ -138,7 +138,7 @@ copy_debian()
 
 install_debian()
 {
-    cache="@LOCALSTATEDIR@/cache/lxc/debian"
+    cache="@LOCALSTATEDIR@/cache/lxc/$SUITE"
     rootfs=$1
     mkdir -p @LOCALSTATEDIR@/lock/subsys/
     (
@@ -222,7 +222,7 @@ EOF
 
 clean()
 {
-    cache="@LOCALSTATEDIR@/cache/lxc/debian"
+    cache="@LOCALSTATEDIR@/cache/lxc/$SUITE"
 
     if [ ! -e $cache ]; then
        exit 0