From 10369decf8541d929c6dc7d4cf367e16653a8d07 Mon Sep 17 00:00:00 2001 From: Jarrod Johnon Date: Mon, 12 Jan 2015 10:37:05 -0500 Subject: [PATCH] Fix ipmi get boot device when uefimode is possible --- confluent_server/confluent/plugins/hardwaremanagement/ipmi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py b/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py index a7e17648..98950df3 100644 --- a/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py +++ b/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py @@ -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'