mirror of
https://github.com/xcat2/confluent.git
synced 2025-02-16 18:49:04 +00:00
Fix SMM enablement on XCC in SD530
The form factor is, at least in one test, an array, not a string. Just in case, tolerate either way.
This commit is contained in:
parent
4110d18f43
commit
9ac7158bdd
@ -22,7 +22,7 @@ class NodeHandler(immhandler.NodeHandler):
|
||||
|
||||
def preconfig(self):
|
||||
ff = self.info.get('attributes', {}).get('enclosure-form-factor', '')
|
||||
if ff != 'dense-computing':
|
||||
if ff not in ('dense-computing', [u'dense-computing']):
|
||||
return
|
||||
# attempt to enable SMM
|
||||
#it's normal to get a 'not supported' (193) for systems without an SMM
|
||||
|
Loading…
x
Reference in New Issue
Block a user