[PATCH phosphor-settingsd v2] Adding the boot_policy attribute
OpenBMC Patches
openbmc-patches at stwcx.xyz
Fri Jun 3 04:10:48 AEST 2016
From: ratagupt <ratagupt at in.ibm.com>
---
settings.yaml | 7 ++++++-
settings_file.py | 3 +++
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/settings.yaml b/settings.yaml
index c950e4c..ccf1db0 100644
--- a/settings.yaml
+++ b/settings.yaml
@@ -23,4 +23,9 @@ host:
restrictedmode:
name: restricted_mode
type: b
- default: false
+ default: false
+ bootpolicy:
+ name: boot_policy
+ type: s
+ default: "ONETIME"
+
diff --git a/settings_file.py b/settings_file.py
index fe852ba..6b46a65 100644
--- a/settings_file.py
+++ b/settings_file.py
@@ -3,6 +3,9 @@ SETTINGS=\
{'host': {'bootflags': {'default': 'default',
'name': 'boot_flags',
'type': 's'},
+ 'bootpolicy': {'default': 'ONETIME',
+ 'name': 'boot_policy',
+ 'type': 's'},
'powercap': {'default': 0,
'max': 1000,
'min': 0,
--
2.8.3
More information about the openbmc
mailing list