diff --git a/confluent_server/confluent/discovery/protocols/pxe.py b/confluent_server/confluent/discovery/protocols/pxe.py index dfd62d84..9d0c3b8f 100644 --- a/confluent_server/confluent/discovery/protocols/pxe.py +++ b/confluent_server/confluent/discovery/protocols/pxe.py @@ -249,8 +249,10 @@ def proxydhcp(): continue myip = socket.inet_ntoa(myipn) bootfile = 'http://{0}/confluent-public/os/{1}/boot/boot.ipxe'.format(myip, profile).encode('utf8') - else: + elif disco['arch'] == 'uefi-x64': bootfile = b'confluent/x86_64/ipxe.efi' + elif disco['arch'] == 'bios-x86' + bootfile = b'confluent/x86_64/ipxe.kkpxe' rpv[:240] = bytes(rqv[:240]) rpv[0:1] = b'\x02' rpv[108:108 + len(bootfile)] = bootfile