2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-10 14:51:30 +00:00

Power off should be called against the chassis

This commit is contained in:
Victor Hu
2017-07-10 13:05:33 -04:00
parent 1f277339e9
commit 3e10a4bc3a

View File

@ -162,8 +162,8 @@ my %status_info = (
},
RPOWER_OFF_REQUEST => {
method => "PUT",
init_url => "$openbmc_project_url/state/host0/attr/RequestedHostTransition",
data => "xyz.openbmc_project.State.Host.Transition.Off",
init_url => "$openbmc_project_url/state/chassis0/attr/RequestedPowerTransition",
data => "xyz.openbmc_project.State.Chassis.Transition.Off",
},
RPOWER_OFF_RESPONSE => {
process => \&rpower_response,