Lines Matching full:host
2 # A script which is called in a host-reboot path to check the host reboot count
3 # and either initiate the host firmware boot, or move it to the quiesce state
7 # host that is being rebooted (or quiesced)
13 busctl get-property xyz.openbmc_project.State.Host"$1" \
14 /xyz/openbmc_project/state/host"$1" \
21 busctl get-property xyz.openbmc_project.State.Host"$1" \
22 /xyz/openbmc_project/state/host"$1" \
23 xyz.openbmc_project.State.Host RestartCause \
27 # host instance id is input parameter to function
30 systemctl start obmc-host-quiesce@"$1".target
33 # host instance id is input parameter to function
36 systemctl start obmc-host-startmin@"$1".target
39 # This service is run as a part of a systemd target to reboot the host
40 # As such, it has to first shutdown the host, and then reboot it. Due to
49 # its reboot count and halt in Quiesce if so. But in the host-crash path this
51 # ensure the system does not end up in an endless reboot loop, put host into
57 [ "$restart_cause" == "xyz.openbmc_project.State.Host.RestartCause.HostCrash" ];
59 echo "reboot count is 0 and host crashed, go to host quiesce"
62 echo "reboot count ($reboot_count) is greater then 0 or host did not" \
63 "crash so reboot host"