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

Correct order of find and replace strings in by-mac boot

This commit is contained in:
Jarrod Johnson 2022-10-24 13:26:06 -04:00
parent 29ad1bd57e
commit c57090a670

View File

@ -633,7 +633,7 @@ def resourcehandler_backend(env, start_response):
yield ''
return
if request[1] == 'by-mac':
mac = request[2].replace(':', '-')
mac = request[2].replace('-', ':')
nodename = disco.get_node_by_uuid_or_mac(mac)
elif request[1] == 'by-uuid':
uuid = request[2]