Support Wait State keyword inside plugin.
Signed-off-by: Michael Shepos <shepos@us.ibm.com>
Change-Id: If6120c480efdc65ab031fbdb0570b0b19860a768
diff --git a/lib/state.py b/lib/state.py
index 3eb3473..d13e50a 100755
--- a/lib/state.py
+++ b/lib/state.py
@@ -462,7 +462,10 @@
if must_login:
output, stderr, rc = bsu.os_execute_command("uptime", quiet=quiet,
ignore_err=1,
- time_out=20)
+ time_out=20,
+ os_host=os_host,
+ os_username=os_username,
+ os_password=os_password)
if rc == 0:
os_login = 1
os_run_cmd = 1