Commit 0c086a13 authored by René Nussbaumer's avatar René Nussbaumer

cli.py: Adding POWER_DELAY_OPT

The command line option --power-delay sets the time waited between power
ons.
Signed-off-by: default avatarRené Nussbaumer <rn@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent beff3779
......@@ -135,6 +135,7 @@ __all__ = [
"OS_OPT",
"OS_SIZE_OPT",
"OOB_TIMEOUT_OPT",
"POWER_DELAY_OPT",
"PREALLOC_WIPE_DISKS_OPT",
"PRIMARY_IP_VERSION_OPT",
"PRIORITY_OPT",
......@@ -1170,6 +1171,10 @@ OOB_TIMEOUT_OPT = cli_option("--oob-timeout", dest="oob_timeout", type="int",
default=constants.OOB_TIMEOUT,
help="Maximum time to wait for out-of-band helper")
POWER_DELAY_OPT = cli_option("--power-delay", dest="power_delay", type="float",
default=constants.OOB_POWER_DELAY,
help="Time in seconds to wait between power-ons")
#: Options provided by all commands
COMMON_OPTS = [DEBUG_OPT]
......
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