power-restore: define new one_time property

IBM has a use case where it wishes to utilize the power-restore
functionality for a firmware update path. A firmware update
is initiated through the host operating system. Once it has completed
writing the BMC flash, the host wants to initiated a power off of the
system, a reboot of the BMC, and then an automatic power on of the host.

Instead of writing special software to handle this automatic boot of the
host after the BMC has rebooted, lets utilize a one_time setting within
the power-restore logic.

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I4964004e3b1827853ff00437172196e4fbbfcc46
diff --git a/meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml b/meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml
index f2df02d..32b32e8 100644
--- a/meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml
+++ b/meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml
@@ -58,6 +58,12 @@
           PowerRestorePolicy:
               Default: RestorePolicy::Policy::AlwaysOff
 
+/xyz/openbmc_project/control/host0/power_restore_policy/one_time:
+    - Interface: xyz.openbmc_project.Control.Power.RestorePolicy
+      Properties:
+          PowerRestorePolicy:
+              Default: RestorePolicy::Policy::AlwaysOff
+
 /xyz/openbmc_project/time/sync_method:
     - Interface: xyz.openbmc_project.Time.Synchronization
       Properties: