mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 09:32:21 +00:00
Add branch to support legacy
Legacy boot gets into ipxe through a kkpxe executable.
This commit is contained in:
parent
bc7dc50388
commit
ea537b1a1f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user