2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-07-31 18:19:40 +00:00

Merge pull request #7628 from VersatusHPC/harvest/xnba-ipxe-mac-format

fix(xnba): use the iPXE-native MAC format on the BIOS boot path
This commit is contained in:
Daniel Hilst
2026-07-27 15:12:06 -03:00
committed by GitHub
+1 -1
View File
@@ -337,7 +337,7 @@ sub setstate {
print $pcfg "imgfetch -n kernel http://" . '${next-server}:' . $httpport.'/tftpboot/' . $kern->{kernel} . "\n";
print $pcfg "imgload kernel\n";
if ($kern->{kcmdline}) {
print $pcfg "imgargs kernel " . $kern->{kcmdline} . ' BOOTIF=01-${netX/machyp}' . "\n";
print $pcfg "imgargs kernel " . $kern->{kcmdline} . ' BOOTIF=01-${netX/mac:hexhyp}' . "\n";
} else {
print $pcfg "imgargs kernel BOOTIF=" . '${netX/mac}' . "\n";
}