Commit 04cda6d1 by Trần Ngọc Quân Committed by Serge Hallyn

add help string for ubuntu templete

parent e2dafcda
...@@ -673,6 +673,7 @@ usage() ...@@ -673,6 +673,7 @@ usage()
$1 -h|--help [-a|--arch] [-b|--bindhome <user>] [-d|--debug] $1 -h|--help [-a|--arch] [-b|--bindhome <user>] [-d|--debug]
[-F | --flush-cache] [-r|--release <release>] [ -S | --auth-key <keyfile>] [-F | --flush-cache] [-r|--release <release>] [ -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>]
release: the ubuntu release (e.g. precise): defaults to host release on ubuntu, otherwise uses latest LTS release: the ubuntu release (e.g. precise): defaults to host release on ubuntu, otherwise uses latest LTS
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
...@@ -680,6 +681,7 @@ bindhome: bind <user>'s home into the container ...@@ -680,6 +681,7 @@ bindhome: bind <user>'s home into the container
arch: the container architecture (e.g. amd64): defaults to host arch arch: the container architecture (e.g. amd64): defaults to host arch
auth-key: SSH Public key file to inject into container auth-key: SSH Public key file to inject into container
packages: list of packages to add comma separated packages: list of packages to add comma separated
mirror,security-mirror: mirror for download and /etc/apt/sources.list
EOF EOF
return 0 return 0
} }
......
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