mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 09:13:08 +00:00
support cumulus os in syslog postscript
This commit is contained in:
parent
2e9d47348b
commit
17e382f5a0
@ -148,6 +148,9 @@ config_rsyslog_V8()
|
||||
conf_file="/etc/rsyslog.conf"
|
||||
remoteconf="/etc/rsyslog.d/remote.conf"
|
||||
|
||||
#for Cumulus OS inside ONIE switches
|
||||
cat /etc/os-release |grep -i -e "^NAME=[ \"']*Cumulus Linux[ \"']*$" >/dev/null 2>&1 && remoteconf="/etc/rsyslog.d/99-syslog.conf"
|
||||
|
||||
# If this is a Management Node or Service Node, then it will be receiving syslog entries from the
|
||||
# compute nodes. Management Node is receiving from Service Nodes and possibly compute nodes.
|
||||
# They will all be put in /var/log/messages
|
||||
|
Loading…
x
Reference in New Issue
Block a user