2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 03:19:48 +00:00

Fix PXE/HTTP boot UUID and Mac case sensitivity

Like the SSDP code, PXE too had case sensitivity issues
This commit is contained in:
Jarrod Johnson 2020-12-04 12:42:14 -05:00
parent 57b74d59af
commit 2d58741f15

View File

@ -423,9 +423,9 @@ def remap_nodes(nodeattribs, configmanager):
for node in updates:
for attrib in updates[node]:
if attrib == 'id.uuid':
uuidmap[updates[node][attrib]['value']] = node
uuidmap[updates[node][attrib]['value'].lower()] = node
elif 'hwaddr' in attrib:
macmap[updates[node][attrib]['value']] = node
macmap[updates[node][attrib]['value'].lower()] = node
staticassigns = {}