mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-09-08 19:28:36 +00:00
Use the iPXE native format for mac
It's been enough years by now, just use what was accepted upstream rather than the preliminary syntax in our branch.
This commit is contained in:
@@ -272,7 +272,7 @@ sub setstate {
|
||||
print $pcfg "imgfetch -n kernel http://" . '${next-server}/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";
|
||||
}
|
||||
|
Reference in New Issue
Block a user