Do not reference xCATSN in the remoteshell and syslog postscripts, use NTYPE=service
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8950 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
9b5e97a927
commit
ef42f00cd9
@ -100,7 +100,7 @@ else
|
||||
fi
|
||||
rm /tmp/ssh_rsa_hostkey
|
||||
|
||||
if [ -r /etc/xCATSN ] ; then
|
||||
if [[ $NTYPE = service ]]; then
|
||||
mkdir -p /etc/xcat/hostkeys
|
||||
cp /etc/ssh/ssh* /etc/xcat/hostkeys/.
|
||||
fi
|
||||
|
@ -29,7 +29,7 @@ config_Rsyslog_C3()
|
||||
isReceiving=0
|
||||
isLocal=$1
|
||||
|
||||
if [ -f /etc/xCATMN ] || [ -f /etc/xCATSN ]
|
||||
if [ -f /etc/xCATMN ] || [ $isSN -eq 1 ]
|
||||
then
|
||||
isReceiving=1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user