mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 09:13:08 +00:00
Display first [openbmc_debug] when entering openbmc.pm
This commit is contained in:
parent
3657834065
commit
d2f839c202
@ -585,6 +585,12 @@ sub preprocess_request {
|
||||
|
||||
$callback = shift;
|
||||
|
||||
if ($::XCATSITEVALS{xcatdebugmode}) { $xcatdebugmode = $::XCATSITEVALS{xcatdebugmode} }
|
||||
|
||||
if ($xcatdebugmode) {
|
||||
process_debug_info("OpenBMC");
|
||||
}
|
||||
|
||||
my $command = $request->{command}->[0];
|
||||
my $noderange = $request->{node};
|
||||
my $extrargs = $request->{arg};
|
||||
@ -705,8 +711,6 @@ sub process_request {
|
||||
@exargs = @$extrargs;
|
||||
}
|
||||
|
||||
if ($::XCATSITEVALS{xcatdebugmode}) { $xcatdebugmode = $::XCATSITEVALS{xcatdebugmode} }
|
||||
|
||||
my $check = parse_node_info($noderange);
|
||||
my $rst = parse_command_status($command, \@exargs);
|
||||
return if ($rst);
|
||||
@ -1739,9 +1743,6 @@ sub fork_process_login {
|
||||
sleep(1);
|
||||
$rst = 1;
|
||||
} elsif ($child == 0) {
|
||||
if ($xcatdebugmode) {
|
||||
process_debug_info($node, "Attempting to login");
|
||||
}
|
||||
exit(login_request($node));
|
||||
} else {
|
||||
$login_pid_node{$child} = $node;
|
||||
|
Loading…
x
Reference in New Issue
Block a user