Skip to content

Commit

Permalink
meta-ibm: default to Restore policy for IBM (#2728)
Browse files Browse the repository at this point in the history
IBM systems should default to "Restore" for RestorePolicy. This will
ensure a system is automatically restored to the last state prior to the
power loss.

Tested:
- Built p10bmc image and verified generated source file had correct
  default in it.

Signed-off-by: Andrew Geissler <[email protected]>

Co-authored-by: Andrew Geissler <[email protected]>
  • Loading branch information
2 people authored and rfrandse committed Jan 3, 2023
1 parent f8f06aa commit 6d81ea4
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,17 @@
Properties:
Enabled:
Default: 'true'

/xyz/openbmc_project/control/host0/power_cap:
- Interface: xyz.openbmc_project.Control.Power.Cap
Properties:
PowerCap:
Default: 0
PowerCapEnable:
Default: 'false'

/xyz/openbmc_project/control/host0/power_restore_policy:
- Interface: xyz.openbmc_project.Control.Power.RestorePolicy
Properties:
PowerRestorePolicy:
Default: RestorePolicy::Policy::Restore

0 comments on commit 6d81ea4

Please sign in to comment.