use ubuntu server 14.04.3

This commit is contained in:
t3chn0m4g3
2015-08-11 17:23:21 +02:00
parent ea283959bc
commit f9241615d2
2 changed files with 7 additions and 7 deletions

View File

@ -73,7 +73,7 @@ EOF
# Let's load docker images from remote
fuECHO "### Downloading docker images from DockerHub. Please be patient, this may take a while."
for name in $(cat /root/tpotce/data/images.conf)
for name in $(cat /root/tpotce/data/images.conf)
do
docker pull dtagdevsec/$name
done
@ -86,7 +86,7 @@ APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::AutocleanInterval "7";
EOF
# Let's wait no longer for network than 60 seconds
# Let's wait no longer for network than 60 seconds
fuECHO "### Wait no longer for network than 60 seconds."
sed -i.bak 's#sleep 60#sleep 30#' /etc/init/failsafe.conf
@ -108,7 +108,7 @@ tee -a /etc/crontab <<EOF
# Check if containers and services are up
*/5 * * * * root /usr/bin/check.sh
# 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 /usr/bin/docker pull dtagdevsec/\$i:latest; done
# Restart docker service and containers