mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-17 21:23:18 +00:00
Fix ipmi get boot device when uefimode is possible
This commit is contained in:
parent
4dbb2ee395
commit
10369decf8
@ -319,7 +319,7 @@ class IpmiHandler(object):
|
||||
bootdev['bootdev'] = self.bootdevices[bootdev['bootdev']]
|
||||
bootmode = 'unspecified'
|
||||
if 'uefimode' in bootdev:
|
||||
if bootmode['uefimode']:
|
||||
if bootdev['uefimode']:
|
||||
bootmode = 'uefi'
|
||||
else:
|
||||
bootmode = 'bios'
|
||||
|
Loading…
x
Reference in New Issue
Block a user