2
0
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:
immarvin
2015-08-03 03:23:19 -04:00
parent 7cdf2d717b
commit 1831aca0bf

View File

@ -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,