fix: enable disk inventory for HPE

This commit is contained in:
Cyril Levis 2022-12-09 14:19:26 +01:00
parent 778814b0a1
commit ca2a69b66f
No known key found for this signature in database
GPG key ID: 6DB88737C11F5A48

View file

@ -232,7 +232,7 @@ class Inventory():
raid_class = OmreportRaid
if is_tool('storcli'):
raid_class = StorcliRaid
elif self.server.manufacturer == 'HP':
elif self.server.manufacturer in ('HP', 'HPE'):
if is_tool('ssacli'):
raid_class = HPRaid