prepare for forward logs to cc

This commit is contained in:
Marco Ochse
2017-04-07 15:20:56 +00:00
parent ff4a87ff42
commit 1453e26f76
3 changed files with 6 additions and 2 deletions

View File

@ -10,6 +10,10 @@ tee /data/ews/conf/ews.ip << EOF
[MAIN]
ip = $myEXTIP
EOF
tee /data/elk/environment << EOF
MY_EXTIP=$myEXTIP
MY_HOSTNAME=$HOSTNAME
EOF
echo $myLOCALIP > /data/elk/logstash/mylocal.ip
chown tpot:tpot /data/ews/conf/ews.ip
if [ -f /var/run/check.lock ];