Set boot mode default to regular
Needed for CI and CT at the start of the initial setup.
Resolves openbmc/openbmc-test-automation#1062
Change-Id: I726cc4bd9ede9b7002dc8465e509105130e2c97d
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/tests/__init__.robot b/tests/__init__.robot
index c5c2f99..a5109ae 100644
--- a/tests/__init__.robot
+++ b/tests/__init__.robot
@@ -23,6 +23,12 @@
Run Keyword And Ignore Error Log PNOR Driver Details
Run Keyword And Ignore Error Log BMC Model
Run Keyword And Ignore Error Enable Core Dump On BMC
+ Run Keyword And Ignore Error Set Boot Defaults
+
+Set Boot Defaults
+ Set Control Boot Mode ${CONTROL_HOST_URI}/boot ${BOOT_MODE_REGULAR}
+ Set Control Boot Mode
+ ... ${CONTROL_HOST_URI}/boot/one_time ${BOOT_MODE_REGULAR}
Log BMC Driver Details
[Documentation] Get BMC driver details and log.