mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-28 19:28:50 +00:00
modify installer for 17.06
This commit is contained in:
parent
a98e6bfc53
commit
ff75c6c588
1 changed files with 2 additions and 2 deletions
|
@ -353,7 +353,7 @@ esac
|
||||||
fuECHO "### Loading docker images. Please be patient, this may take a while."
|
fuECHO "### Loading docker images. Please be patient, this may take a while."
|
||||||
for name in $(cat /root/tpot/data/images.conf)
|
for name in $(cat /root/tpot/data/images.conf)
|
||||||
do
|
do
|
||||||
docker pull dtagdevsec/$name:latest1610
|
docker pull dtagdevsec/$name:1706
|
||||||
done
|
done
|
||||||
|
|
||||||
# Let's add the daily update check with a weekly clean interval
|
# Let's add the daily update check with a weekly clean interval
|
||||||
|
@ -389,7 +389,7 @@ tee -a /etc/crontab <<EOF
|
||||||
#*/5 * * * * root alerta --endpoint-url http://<ip>:<port>/api delete --filters resource=<host> && alerta --endpoint-url http://<ip>:<port>/api send -e IP -r <host> -E Production -s ok -S T-Pot -t \$(cat /data/elk/logstash/mylocal.ip) --status open
|
#*/5 * * * * root alerta --endpoint-url http://<ip>:<port>/api delete --filters resource=<host> && alerta --endpoint-url http://<ip>:<port>/api send -e IP -r <host> -E Production -s ok -S T-Pot -t \$(cat /data/elk/logstash/mylocal.ip) --status open
|
||||||
|
|
||||||
# Check if updated images are available and download them
|
# Check if updated images are available and download them
|
||||||
27 1 * * * root for i in \$(cat /data/images.conf); do docker pull dtagdevsec/\$i:latest1610; done
|
27 1 * * * root for i in \$(cat /data/images.conf); do docker pull dtagdevsec/\$i:1706; done
|
||||||
|
|
||||||
# Restart docker service and containers
|
# Restart docker service and containers
|
||||||
27 3 * * * root dcres.sh
|
27 3 * * * root dcres.sh
|
||||||
|
|
Loading…
Reference in a new issue