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

View file

@ -4,12 +4,12 @@
# T-Pot Community Edition #
# .ISO maker #
# #
# v0.13 by mo, DTAG, 2015-07-14 #
# v0.14 by mo, DTAG, 2015-08-11 #
########################################################
# Let's define some global vars
myUBUNTULINK="http://releases.ubuntu.com/14.04.2/ubuntu-14.04.2-server-amd64.iso"
myUBUNTUISO="ubuntu-14.04.2-server-amd64.iso"
myUBUNTULINK="http://releases.ubuntu.com/14.04.3/ubuntu-14.04.3-server-amd64.iso"
myUBUNTUISO="ubuntu-14.04.3-server-amd64.iso"
myTPOTCEISO="tpotce.iso"
myTPOTCEDIR="tpotceiso"
myTMP="tmp"
@ -30,7 +30,7 @@ apt-get update -y
apt-get install genisoimage syslinux syslinux-utils -y
# Let's get Ubuntu 14.04.2 as .iso
fuECHO "### Downloading Ubuntu 14.04.2."
fuECHO "### Downloading Ubuntu 14.04.3."
if [ ! -f $myUBUNTUISO ]
then wget $myUBUNTULINK;
else fuECHO "### Found it locally.";