2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-08-20 02:00:29 +00:00

Fix iPXE recognition of our offer

iPXE requires that next-server
be set, unlike UEFI firmware
which did not care.
This commit is contained in:
Jarrod Johnson
2020-04-01 16:59:43 -04:00
parent 0fe136d4ee
commit 2da5bebf46

View File

@@ -247,7 +247,8 @@ def proxydhcp():
rpv[108:108 + len(bootfile)] = bootfile
rpv[240:243] = b'\x35\x01\x05'
rpv[243:249] = b'\x36\x04' + myipn
rpv[249:268] = b'\x61\x11' + bytes(opts[97])
rpv[20:24] = myipn
rpv[249:268] = b'\x61\x11' + opts[97]
rpv[268:280] = b'\x3c\x09PXEClient\xff'
net4011.sendto(rpv[:281], client)