mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-31 10:06:39 +00:00
commit
3c63f68aee
@ -4961,7 +4961,7 @@ sub mkcommonboot {
|
||||
}
|
||||
$append = $prepend.$append;
|
||||
}
|
||||
elsif ($osver =~ /esxi5/) { #do a more straightforward thing..
|
||||
elsif ($osver =~ /esxi[56]/) { #do a more straightforward thing..
|
||||
$kernel = "$tp/mboot.c32";
|
||||
if (-r "$tftpdir/$tp/boot.cfg.$bootmode.tmpl") { #so much for straightforward..
|
||||
$shortappend = "-c $tp/boot.cfg.$bootmode.$node";
|
||||
|
@ -226,7 +226,7 @@ sub setstate {
|
||||
print $pcfg "\n";
|
||||
}
|
||||
print $pcfg "IPAPPEND 2\n";
|
||||
if ($kern->{kernel} =~ /esxi5/) { #Make uefi boot provisions
|
||||
if ($kern->{kernel} =~ /esxi[56]/) { #Make uefi boot provisions
|
||||
my $ucfg;
|
||||
open($ucfg,'>',$tftpdir."/xcat/xnba/nodes/".$node.".uefi");
|
||||
if ($kern->{kcmdline} =~ / xcat\/netboot/) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user