mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-15 13:42:36 +00:00
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:
parent
c75083d7f3
commit
fdcde5b653
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user