Set the Power off policy to boot sanely to BMC_READY
BMC poweron due to poweron policy set to HOST_BOOTED. This is a use case
where update expects to reboot while doing Preparing for update and expects
BMC to come online and stay at BMC_READY or Poweroff state.
As part of the code update, we poweroff the BMC and then set Host Power host
setting Policy to RESTORE_LAST_STATE. On reboot this policy would ensure
the BMC comes online and host setting power state stays poweroff.
Resolves openbmc/openbmc-test-automation#182
Change-Id: I689affa6f9e059809ea175ccc3363c4315022d65
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
3 files changed