boot settings: add new 'one_time' object
Add boot/one_time object to denote boot settings that should apply only
to the next boot.
Change-Id: I0c422985104b5fd8688e0a5b69176683a6f2cf54
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
diff --git a/common/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml b/common/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml
index 4acf691..fc0bcbc 100644
--- a/common/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml
+++ b/common/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml
@@ -20,6 +20,20 @@
BootMode:
Default: Mode::Modes::Regular
+/xyz/openbmc_project/control/host0/boot/one_time:
+ - Interface: xyz.openbmc_project.Control.Boot.Source
+ Properties:
+ BootSource:
+ Default: Source::Sources::Default
+ - Interface: xyz.openbmc_project.Control.Boot.Mode
+ Properties:
+ BootMode:
+ Default: Mode::Modes::Regular
+ - Interface: xyz.openbmc_project.Object.Enable
+ Properties:
+ Enabled:
+ Default: 'true'
+
/xyz/openbmc_project/control/host0/power_cap:
- Interface: xyz.openbmc_project.Control.Power.Cap
Properties: