2
0
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:
Jarrod Johnon 2015-01-12 10:37:05 -05:00
parent 4dbb2ee395
commit 10369decf8

View File

@ -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'