mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-13 01:40:26 +00:00
add debug output for grub2 when xcatdebugnmode=1
This commit is contained in:
@ -168,6 +168,12 @@ sub setstate {
|
||||
if ($cref->{currstate}) {
|
||||
print $pcfg "#".$cref->{currstate}."\n";
|
||||
}
|
||||
|
||||
|
||||
if($::XCATSITEVALS{xcatdebugmode} eq "1"){
|
||||
print $pcfg "set debug=all\n";
|
||||
}
|
||||
|
||||
print $pcfg "set timeout=5\n";
|
||||
|
||||
$normalnodes{$node}=1; #Assume a normal netboot (well, normal dhcp,
|
||||
|
Reference in New Issue
Block a user