Changes to support redfish only firmware
Signed-off-by: Michael Shepos <shepos@us.ibm.com>
Change-Id: I742c0740573ea7db99ff7c4eb1ed8542dce6bf0b
diff --git a/bin/plug_ins/Auto_reboot/cp_master b/bin/plug_ins/Auto_reboot/cp_master
index 7d967e2..5d2a707 100755
--- a/bin/plug_ins/Auto_reboot/cp_master
+++ b/bin/plug_ins/Auto_reboot/cp_master
@@ -69,10 +69,11 @@
enable_auto_reboot = 1 - AUTO_REBOOT_DISABLE
print_var(enable_auto_reboot)
- keyword_string = "Set Auto Reboot ${%i}" % enable_auto_reboot
+ keyword_string = "Set Auto Reboot Setting ${%i}" % enable_auto_reboot
cmd_buf = create_robot_cmd_string("extended/run_keyword.robot", OPENBMC_HOST, SSH_PORT, HTTPS_PORT,
- REST_USERNAME, REST_PASSWORD, keyword_string, lib_file_path, quiet,
+ REST_USERNAME, REST_PASSWORD, OPENBMC_USERNAME, OPENBMC_PASSWORD,
+ keyword_string, lib_file_path, quiet,
test_mode, debug, outputdir, output, log, report)
if not robot_cmd_fnc(cmd_buf):
print_error_report("Robot command execution failed.")