diff --git a/confluent_server/confluent/core.py b/confluent_server/confluent/core.py index d33cb69f..6dd37283 100644 --- a/confluent_server/confluent/core.py +++ b/confluent_server/confluent/core.py @@ -201,7 +201,7 @@ def _init_core(): 'pluginattrs': ['hardwaremanagement.method'], 'default': 'ipmi', }), - 'drives': PluginCollection({ + 'disks': PluginCollection({ 'pluginattrs': ['hardwaremanagement.method'], 'default': 'ipmi', }), diff --git a/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py b/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py index d0178fe9..8958ad4e 100644 --- a/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py +++ b/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py @@ -936,7 +936,7 @@ class IpmiHandler(object): if self.element[-1] == '': self.element = self.element[:-1] storelem = self.element[2:] - if storelem[0] == 'drives': + if storelem[0] == 'disks': if len(storelem) == 1: return self.list_disks() return self.show_disk(storelem[1])