[lxc-devel] [PATCH] Ubuntu template: Add precise to the list of Ubuntu releases.

Stéphane Graber stgraber at ubuntu.com
Thu Nov 10 18:32:46 UTC 2011


---
 templates/lxc-ubuntu.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/lxc-ubuntu.in b/templates/lxc-ubuntu.in
index 2be8680..d116f4c 100644
--- a/templates/lxc-ubuntu.in
+++ b/templates/lxc-ubuntu.in
@@ -382,7 +382,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
@@ -401,7 +401,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
-- 
1.7.7.1





More information about the lxc-devel mailing list