commit | 2104d5f9bca1ab3b460f5255f6093d7b25a13c1a | [log] [tgz] |
---|---|---|
author | George Keishing <gkeishin@in.ibm.com> | Mon Jan 31 04:33:30 2022 -0600 |
committer | George Keishing <gkeishin@gmail.com> | Tue Feb 01 06:37:07 2022 +0000 |
tree | 83be104ef39b5702cfe38c398917105846dd5f42 | |
parent | bade11a2432921a471bf39131693dcc197a96084 [diff] [blame] |
Add support to run as sudo user on BMC Change-Id: I81ee5536fc1b59e70a8e7f5987babdfe412b445a Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/resource.robot b/lib/resource.robot index f5d0d81..e8b5ccf 100755 --- a/lib/resource.robot +++ b/lib/resource.robot
@@ -33,6 +33,9 @@ ${OPENBMC_ADMIN_PASSWORD} 0penBmc ${SERVICE_USER_PASSWORD} 0penBmc +# For users priviledge admin or sudo. +${USER_TYPE} ${EMPTY} + ${CHASSIS_ID} chassis ${COMPONENT_NAME_OF_POWER_SUPPLY} powersupply