From 05cfea34d6c705bfb9a90f7c337898b45c1ea156 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 27 Oct 2026 13:45:39 -0400 Subject: [PATCH] Correct check for architocture It is incorrect and redundant within the aarch64 path --- confluent_server/confluent/discovery/protocols/pxe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/discovery/protocols/pxe.py b/confluent_server/confluent/discovery/protocols/pxe.py index ada20b36..c7b22d1c 100644 --- a/confluent_server/confluent/discovery/protocols/pxe.py +++ b/confluent_server/confluent/discovery/protocols/pxe.py @@ -822,7 +822,7 @@ async def reply_dhcp4(node, info, packet, cfg, reqview, httpboot, cfd, profile, if not profile: log.log({'info': 'No pending profile for {0}, skipping proxyDHCP reply'.format(node)}) return - if disco['arch'] == 'bios-x86' or not os.path.exists('/var/lib/confluent/public/os/{0}/boot.ipxe.shim'.format(profile)): + if not os.path.exists('/var/lib/confluent/public/os/{0}/boot.ipxe.shim'.format(profile)): bootfile = 'http://{0}/confluent-public/os/{1}/boot.ipxe'.format(myipn, profile).encode('utf8') else: bootfile = 'http://{0}/confluent-public/os/{1}/boot.ipxe.shim'.format(myipn, profile).encode('utf8')