2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-12 17:30:19 +00:00

- rpower <nr> boot should show 'reset' instead

This commit is contained in:
Bin Xu
2018-02-01 13:55:30 +08:00
parent ddf4cd932c
commit 15b7ace1d9

View File

@ -146,7 +146,7 @@ class OpenBMCPowerTask(ParallelNodesCommand):
ret = obmc.set_power_state('on')
self.callback.update_node_attributes('status', node, POWER_STATE_DB['on'])
result = '%s: %s' % (node, optype)
result = '%s: %s' % (node, 'reset')
except (SelfServerException, SelfClientException) as e:
result = '%s: %s' % (node, e.message)