mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-07-01 18:35:36 +00:00
Fix rsyslog.conf syntax error on RHEL 8 (#5950)
This commit is contained in:
@ -231,7 +231,7 @@ config_rsyslog_V8()
|
||||
if [ -f "$conf_file" ]; then
|
||||
#rhels7.4 ships rsyslogd 8.24.0, which does not ship remote.conf
|
||||
#the relevant sections are included in rsyslog.conf
|
||||
sed -i '/#\$ModLoad \+imudp\|imtcp\|imudp.so\|imtcp.so/s/^#//;
|
||||
sed -i '/#\$ModLoad \+imudp\|#\$ModLoad \+imtcp\|imudp.so\|imtcp.so/s/^#//;
|
||||
/#\$InputTCPServerRun\|UDPServerRun.*/s/^#//' $conf_file
|
||||
|
||||
#ubuntu16.04 ships rsyslog 8.16.0,which does not ship remote.conf
|
||||
|
Reference in New Issue
Block a user