commit | 509a8fd24eceebbfd7b35e816e2a3ac45dd8fa22 | [log] [tgz] |
---|---|---|
author | Andrew Geissler <geissonator@yahoo.com> | Mon Jul 11 17:32:15 2022 -0500 |
committer | Andrew Geissler <andrew@geissonator.com> | Wed Jul 20 20:06:00 2022 +0000 |
tree | 06aa8d31d213f07f5738119af8981c9e4070b537 | |
parent | 4c529eb810e25346d5a8fe7be9e163421272b999 [diff] |
meta-ibm: default to Restore policy for IBM 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 <geissonator@yahoo.com> Change-Id: I2bf890b22545665097c678ca52a8b3cd77e9f5b3
diff --git a/meta-ibm/recipes-phosphor/settings/phosphor-settings-defaults-native/ibm_host_settings.override.yml b/meta-ibm/recipes-phosphor/settings/phosphor-settings-defaults-native/ibm_host_settings.override.yml index 84e1ddc..ccd771f 100644 --- a/meta-ibm/recipes-phosphor/settings/phosphor-settings-defaults-native/ibm_host_settings.override.yml +++ b/meta-ibm/recipes-phosphor/settings/phosphor-settings-defaults-native/ibm_host_settings.override.yml
@@ -5,3 +5,11 @@ Default: 0 PowerCapEnable: Default: 'false' + +/xyz/openbmc_project/control/host{}/power_restore_policy: + - Interface: xyz.openbmc_project.Control.Power.RestorePolicy + Properties: + PowerRestorePolicy: + Default: RestorePolicy::Policy::Restore + PowerRestoreDelay: + Default: 30