Add new 'precise' release to ubuntu template

Signed-off-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
This commit is contained in:
Serge Hallyn 2012-01-23 11:55:38 -06:00 committed by Daniel Lezcano
parent c75083d7f3
commit fdcde5b653

View File

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