From c6713cff6f28a6d78146a7406123e66ce1d5d320 Mon Sep 17 00:00:00 2001 From: Yong Li Date: Wed, 12 Sep 2018 12:35:13 +0800 Subject: Implement chassis set power restore policy command Implement the IPMI set power restore policy command 0x06. This command can be used to configure the power restore policy. This configuration parameter is kept in nonvolatile storage. The power restore policy determines how the system or chassis behaves when AC power returns after an AC power loss Tested: Run the below command to check the current Power Restore Policy: ipmitool -H -P 0penBmc -I lanplus chassis status Run the below command to change it: ipmitool -H -P 0penBmc -I lanplus chassis policy always-off Change-Id: I224912890f9a9e8b4dc98f840cd6f223c9f7dfe5 Signed-off-by: Yong Li --- host-ipmid-whitelist.conf | 1 + 1 file changed, 1 insertion(+) (limited to 'host-ipmid-whitelist.conf') diff --git a/host-ipmid-whitelist.conf b/host-ipmid-whitelist.conf index a95e99e..2c37ac9 100644 --- a/host-ipmid-whitelist.conf +++ b/host-ipmid-whitelist.conf @@ -2,6 +2,7 @@ 0x00:0x00 //: 0x00:0x01 //: 0x00:0x02 //: +0x00:0x06 //: 0x00:0x08 //: 0x00:0x09 //: 0x00:0x0F //: -- cgit v1.2.1