Setting stack mode as skip to avoid the reboot of the system.

Resolves openbmc/openbmc-test-automation#752

Change-Id: I98b31b7fe5046fb325fbc2223e225af4966b9a2f
Signed-off-by: Sweta Potthuri <spotthur@in.ibm.com>
diff --git a/tests/test_inventory.robot b/tests/test_inventory.robot
index a1799aa..0fb5f76 100644
--- a/tests/test_inventory.robot
+++ b/tests/test_inventory.robot
@@ -6,6 +6,7 @@
 Resource          ../lib/state_manager.robot
 Resource          ../lib/openbmc_ffdc.robot
 Resource          ../lib/list_utils.robot
+Resource          ../lib/boot_utils.robot
 Library           ../lib/utilities.py
 
 Variables         ../data/variables.py
@@ -18,6 +19,7 @@
 
 ***Variables***
 
+${stack_mode}  skip
 ${LOOP_COUNT}  ${1}
 
 *** Test Cases ***
@@ -362,14 +364,8 @@
 Test Suite Setup
     [Documentation]  Do the initial suite setup.
 
-    # Reboot host to re-power on clean if host is not "off".
-    ${current_state}=  Get Host State
-    Run Keyword If  '${current_state}' == 'Off'
-    ...  Initiate Host Boot
-    ...  ELSE  Initiate Host Reboot
-
-    Wait Until Keyword Succeeds
-    ...  10 min  10 sec  Is OS Starting
+    # Boot Host.
+    REST Power On
 
 Get Inventory
     [Documentation]  Get the properties of an endpoint.