mirror of
				https://github.com/xcat2/confluent.git
				synced 2025-10-31 03:12:31 +00:00 
			
		
		
		
	Add branch to support legacy
Legacy boot gets into ipxe through a kkpxe executable.
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user