[PATCH phosphor-settingsd] Adding the boot_policy attribute

OpenBMC Patches openbmc-patches at stwcx.xyz
Mon Apr 4 21:40:42 AEST 2016

From: ratagupt <ratagupt at in.ibm.com>

 settings_file.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/settings_file.py b/settings_file.py
index 698d941..a416b51 100644
--- a/settings_file.py
+++ b/settings_file.py
@@ -1,2 +1,2 @@
 #!/usr/bin/python -u
-SETTINGS={'host': {'bootflags': {'default': 'default', 'type': 's', 'name': 'boot_flags'}, 'powerpolicy': {'default': 'RESTORE_LAST_STATE', 'type': 's', 'name': 'power_policy'}, 'restrictedmode': {'default': False, 'type': 'b', 'name': 'restricted_mode'}, 'powercap': {'name': 'power_cap', 'min': 0, 'default': 0, 'max': 1000, 'type': 'i', 'unit': 'watts'}, 'sysstate': {'default': '', 'type': 's', 'name': 'system_state'}}}
\ No newline at end of file
+SETTINGS={'host': {'bootflags': {'default': 'default', 'type': 's', 'name': 'boot_flags'},'bootpolicy':{'default': 'ONETIME', 'type': 's', 'name': 'boot_policy'},'powerpolicy': {'default': 'RESTORE_LAST_STATE', 'type': 's', 'name': 'power_policy'}, 'restrictedmode': {'default': False, 'type': 'b', 'name': 'restricted_mode'}, 'powercap': {'name': 'power_cap', 'min': 0, 'default': 0, 'max': 1000, 'type': 'i', 'unit': 'watts'}, 'sysstate': {'default': '', 'type': 's', 'name': 'system_state'}}}

More information about the openbmc mailing list