Commit fdcde5b6 by Serge Hallyn Committed by Daniel Lezcano

Add new 'precise' release to ubuntu template

parent c75083d7
...@@ -409,7 +409,7 @@ usage() ...@@ -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 ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment