]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Add new 'precise' release to ubuntu template
authorSerge Hallyn <serge.hallyn@canonical.com>
Mon, 23 Jan 2012 17:55:38 +0000 (11:55 -0600)
committerDaniel Lezcano <daniel.lezcano@free.fr>
Sun, 26 Feb 2012 09:44:40 +0000 (10:44 +0100)
Signed-off-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
templates/lxc-ubuntu.in

index ed6131f93d1e1dc14f4aeca7c38f6f6ad3764523..8a413ff4dc0ece64418dc857109893e1ba121911 100644 (file)
@@ -409,7 +409,7 @@ usage()
 {
     cat <<EOF
 $1 -h|--help -p|--path=<path> --clean [-a|--arch] [-b|--bindhome <user>] [--trim] [-r|--release]
-release: lucid | maverick | natty | oneiric
+release: lucid | maverick | natty | oneiric | precise
 trim: make a minimal (faster, but not upgrade-safe) container
 bindhome: bind <user>'s home into the container
 arch: amd64 or i386: defaults to host arch
@@ -428,7 +428,7 @@ release=lucid
 if [ -f /etc/lsb-release ]; then
     . /etc/lsb-release
     case "$DISTRIB_CODENAME" in
-        lucid|maverick|natty|oneiric)
+        lucid|maverick|natty|oneiric|precise)
             release=$DISTRIB_CODENAME
         ;;
     esac