diff options
author | ratagupt <ratagupt@in.ibm.com> | 2016-04-04 06:29:10 -0500 |
---|---|---|
committer | ratagupt <ratagupt@in.ibm.com> | 2016-06-02 13:07:34 -0500 |
commit | 7fb6880f9216ed99bdcf015a22541f7d345329b6 (patch) | |
tree | e07e360cb16ef5221ff80b62dc02d5a09b16d5ed | |
parent | a3689f6da95224a3f826e059eea235d57bb697ff (diff) | |
download | phosphor-settingsd-7fb6880f9216ed99bdcf015a22541f7d345329b6.tar.gz phosphor-settingsd-7fb6880f9216ed99bdcf015a22541f7d345329b6.zip |
Adding the boot_policy attribute
-rw-r--r-- | settings.yaml | 7 | ||||
-rw-r--r-- | settings_file.py | 3 |
2 files changed, 9 insertions, 1 deletions
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, |