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>
This commit is contained in:
Chen Hanxiao 2017-12-01 21:20:43 +08:00
parent 0de65d26fd
commit 674e7c8b44
1 changed files with 3 additions and 1 deletions

View File

@ -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>',