2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-31 01:56:39 +00:00

turn on tcp syslog reception to receive syslog from anaconda

This commit is contained in:
immarvin 2015-06-17 10:07:39 -04:00
parent 13ced6d09a
commit ec80327962

View File

@ -96,6 +96,14 @@ config_Rsyslog_C3()
cat /tmp/sed.tmp >$2
sed 's/^\#\(\s\)*\$UDPServerRun/\$UDPServerRun/' $2 >/tmp/sed.tmp
cat /tmp/sed.tmp >$2
sed -i -e '/# Provides TCP syslog reception/,/#### GLOBAL DIRECTIVES ####/c \
# Provides TCP syslog reception \
$ModLoad imtcp \
$InputTCPServerRun 514 \
#### GLOBAL DIRECTIVES #### \
' /etc/rsyslog.conf
fi
#enable to send the logging to master