mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-03 21:02:34 +00:00 
			
		
		
		
	Add support for modern iPXE client arch for uefi
iPXE moved from 9 to 7 a long time ago.
This commit is contained in:
		@@ -2781,6 +2781,8 @@ sub addnet
 | 
			
		||||
        push @netent, "        filename = \"http://$tftp$httpport/tftpboot/xcat/xnba/nets/" . $net . "_" . $maskbits . "\";\n";
 | 
			
		||||
        push @netent, "    } else if option user-class-identifier = \"xNBA\" and option client-architecture = 00:09 { #x86, xCAT Network Boot Agent\n";
 | 
			
		||||
        push @netent, "        filename = \"http://$tftp$httpport/tftpboot/xcat/xnba/nets/" . $net . "_" . $maskbits . ".uefi\";\n";
 | 
			
		||||
        push @netent, "    } else if option user-class-identifier = \"xNBA\" and option client-architecture = 00:07 { #x86, xCAT Network Boot Agent\n";
 | 
			
		||||
        push @netent, "        filename = \"http://$tftp$httpport/tftpboot/xcat/xnba/nets/" . $net . "_" . $maskbits . ".uefi\";\n";
 | 
			
		||||
        push @netent, "    } else if option client-architecture = 00:00  { #x86\n";
 | 
			
		||||
        push @netent, "        filename \"xcat/xnba.kpxe\";\n";
 | 
			
		||||
        push @netent, "    } else if option vendor-class-identifier = \"Etherboot-5.4\"  { #x86\n";
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user