Add "ProLiant BL460c Gen10 Graphics Exp"

This commit is contained in:
Cyril Levis 2020-08-25 11:36:15 +02:00
commit c1a847a177
No known key found for this signature in database
GPG key ID: 8538D68543979A20
2 changed files with 2 additions and 1 deletions

View file

@ -27,7 +27,7 @@ class HPHost(ServerBase):
# FIXME: make a dmidecode function get_by_dminame() ?
if self.is_blade():
locator = dmidecode.get_by_type(self.dmi, 204)
if self.product == "ProLiant BL460c Gen10":
if self.product.startswith("ProLiant BL460c Gen10"):
locator = locator[0]["Strings"]
return {
"Enclosure Model": locator[2].strip(),