summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Hanxiao <chenhx@certusnet.com.cn>2017-12-01 21:20:43 +0800
committerChen Hanxiao <chenhx@certusnet.com.cn>2017-12-07 14:04:22 +0800
commit674e7c8b447a2c197750e7424a9c083a26008d39 (patch)
treeafd594091550e35dfb3b3d64f4c12be0e0821cbc
parent0de65d26fdabe01b8e838e78a3658a8f69c170c3 (diff)
downloadpython-novaclient-674e7c8b447a2c197750e7424a9c083a26008d39.tar.gz
inject file: add method of showing quota value of injecting files for 'rebuild' command
Adding command of how to get the quota value of injecting multiple files, as we've already done in 'boot' command. Change-Id: Ib5ee9658a9e15b849dce729719f8297d2108de57 Signed-off-by: Chen Hanxiao <chenhx@certusnet.com.cn>
-rw-r--r--novaclient/v2/shell.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/novaclient/v2/shell.py b/novaclient/v2/shell.py
index f9487a8b..6165dfed 100644
--- a/novaclient/v2/shell.py
+++ b/novaclient/v2/shell.py
@@ -1819,7 +1819,9 @@ def do_reboot(cs, args):
default=[],
help=_("Store arbitrary files from <src-path> locally to <dst-path> "
"on the new server. More files can be injected using multiple "
- "'--file' options. You may store up to 5 files."))
+ "'--file' options. You may store up to 5 files by default. "
+ "The maximum number of files is specified by the 'Personality' "
+ "limit reported by the 'nova limits' command."))
@utils.arg(
'--key-name',
metavar='<key-name>',