Talos II/Configure Power Restore States

From RCS Wiki
Jump to: navigation, search

Power Restore Configuration

The BMC controls the system power state. As such, the power restore state is configured on the BMC itself. After gaining SSH access to the BMC, you can configure the system power restore state as follows.

Keep chassis power off after power application

busctl set-property xyz.openbmc_project.Settings /xyz/openbmc_project/control/host0/power_restore_policy xyz.openbmc_project.Control.Power.RestorePolicy PowerRestorePolicy s xyz.openbmc_project.Control.Power.RestorePolicy.Policy.AlwaysOff

Always turn chassis power on after power application

busctl set-property xyz.openbmc_project.Settings /xyz/openbmc_project/control/host0/power_restore_policy xyz.openbmc_project.Control.Power.RestorePolicy PowerRestorePolicy s xyz.openbmc_project.Control.Power.RestorePolicy.Policy.AlwaysOn

Restore last chassis power state after power application

busctl set-property xyz.openbmc_project.Settings /xyz/openbmc_project/control/host0/power_restore_policy xyz.openbmc_project.Control.Power.RestorePolicy PowerRestorePolicy s xyz.openbmc_project.Control.Power.RestorePolicy.Policy.Restore