Enable RAS unrecoverable error injection through pdbg tool during boot.

Resolves openbmc/openbmc-test-automation/issues#1889

Change-Id: I337903f3fa961092934bbea36c88100506c8323a
Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
diff --git a/lib/ras/host_utils.robot b/lib/ras/host_utils.robot
index 150debe..c5db391 100755
--- a/lib/ras/host_utils.robot
+++ b/lib/ras/host_utils.robot
@@ -230,11 +230,11 @@
     Delete Error Logs
 
     REST Power On  stack_mode=skip
-    Set Auto Reboot  1
 
     Gard Operations On OS  clear all
 
     REST Power Off
+    Set Auto Reboot  1
     Initiate Host Boot  wait=${0}
 
     Start SOL Console Logging   ${EXECDIR}/esol.log