2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-11-20 09:22:27 +00:00

Correct check for architocture

It is incorrect and redundant within the aarch64 path
This commit is contained in:
Jarrod Johnson
2026-10-27 13:45:39 -04:00
parent 3925c6dcbc
commit 05cfea34d6
@@ -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')