From 15b7ace1d972c1d9c23409d534295d0d35f62ec2 Mon Sep 17 00:00:00 2001 From: Bin Xu Date: Thu, 1 Feb 2018 13:55:30 +0800 Subject: [PATCH] - rpower boot should show 'reset' instead --- xCAT-openbmc-py/lib/python/agent/hwctl/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-openbmc-py/lib/python/agent/hwctl/task.py b/xCAT-openbmc-py/lib/python/agent/hwctl/task.py index 53612a6b9..aac1f2422 100644 --- a/xCAT-openbmc-py/lib/python/agent/hwctl/task.py +++ b/xCAT-openbmc-py/lib/python/agent/hwctl/task.py @@ -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)