2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-21 11:12:04 +00:00

Enable grub2 support for x86

This commit is contained in:
Markus Hilger 2024-07-12 19:43:14 +02:00
parent 8329cf6631
commit 597fea5a64

View File

@ -4828,7 +4828,7 @@ sub lookupNetboot {
$ret = "nimol";
} elsif ($imgtype =~ /^Linux$/i) {
if ($osarch =~ /^x86_64$/i) {
$ret = "xnba,pxe";
$ret = "xnba,pxe,grub2";
} elsif ($osarch =~ /^ppc64$/i) {
if (($osv =~ /rh/i and $osn < 7) or ($osv =~ /sles/i and ($osn < 11 or ($osn == 11 and $osm < 4)))) {
$ret = "yaboot";