mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-10 15:23:06 +00:00
precise is not the latest LTS, let's use xenial instead
This commit is contained in:
parent
55b8c7557a
commit
ecb5208b42
@ -674,7 +674,7 @@ $1 -h|--help [-a|--arch] [-b|--bindhome <user>] [-d|--debug]
|
|||||||
[-F | --flush-cache] [-r|--release <release>] [-v|--variant] [ -S | --auth-key <keyfile>]
|
[-F | --flush-cache] [-r|--release <release>] [-v|--variant] [ -S | --auth-key <keyfile>]
|
||||||
[--rootfs <rootfs>] [--packages <packages>] [-u|--user <user>] [--password <password>]
|
[--rootfs <rootfs>] [--packages <packages>] [-u|--user <user>] [--password <password>]
|
||||||
[--mirror <url>] [--security-mirror <url>]
|
[--mirror <url>] [--security-mirror <url>]
|
||||||
release: the ubuntu release (e.g. precise): defaults to host release on ubuntu, otherwise uses latest LTS
|
release: the ubuntu release (e.g. xenial): defaults to host release on ubuntu, otherwise uses latest LTS
|
||||||
variant: debootstrap variant to use (see debootstrap(8))
|
variant: debootstrap variant to use (see debootstrap(8))
|
||||||
bindhome: bind <user>'s home into the container
|
bindhome: bind <user>'s home into the container
|
||||||
The ubuntu user will not be created, and <user> will have
|
The ubuntu user will not be created, and <user> will have
|
||||||
@ -694,7 +694,7 @@ if [ $? -ne 0 ]; then
|
|||||||
fi
|
fi
|
||||||
eval set -- "$options"
|
eval set -- "$options"
|
||||||
|
|
||||||
release=precise # Default to the last Ubuntu LTS release for non-Ubuntu systems
|
release=xenial # Default to the last Ubuntu LTS release for non-Ubuntu systems
|
||||||
if [ -f /etc/lsb-release ]; then
|
if [ -f /etc/lsb-release ]; then
|
||||||
. /etc/lsb-release
|
. /etc/lsb-release
|
||||||
if [ "$DISTRIB_ID" = "Ubuntu" ]; then
|
if [ "$DISTRIB_ID" = "Ubuntu" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user