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:
parent
13ced6d09a
commit
ec80327962
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user