The command line option --power-delay sets the time waited between power
ons
---
 lib/cli.py |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/lib/cli.py b/lib/cli.py
index 60e86e7..98add1b 100644
--- a/lib/cli.py
+++ b/lib/cli.py
@@ -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]
-- 
1.7.3.1

Reply via email to