mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 17:23:08 +00:00
add console.logging=full if global consoleondemand set to no. Use value from consoleondemand per node basis.
This commit is contained in:
parent
d50980b094
commit
fd5e40b8ca
@ -463,7 +463,7 @@ sub donodeent {
|
||||
}
|
||||
}
|
||||
if (defined($cfgent->{consoleondemand})) {
|
||||
if ($cfgent->{consoleondemand}) {
|
||||
if ($cfgent->{consoleondemand} == 'yes') {
|
||||
$parameters{'console.logging'} = 'none';
|
||||
}
|
||||
else {
|
||||
@ -472,6 +472,9 @@ sub donodeent {
|
||||
} elsif ($::XCATSITEVALS{'consoleondemand'} and $::XCATSITEVALS{'consoleondemand'} !~ m/^n/) {
|
||||
$parameters{'console.logging'} = 'none';
|
||||
}
|
||||
elsif ($::XCATSITEVALS{'consoleondemand'} and $::XCATSITEVALS{'consoleondemand'} == 'no') {
|
||||
$parameters{'console.logging'} = 'full';
|
||||
}
|
||||
|
||||
# ok, now for nodepos...
|
||||
if (defined $cfgent->{u}) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user