mirror of
				https://github.com/telekom-security/tpotce.git
				synced 2025-10-31 12:32:55 +00:00 
			
		
		
		
	use ubuntu server 14.04.3
This commit is contained in:
		
							parent
							
								
									ea283959bc
								
							
						
					
					
						commit
						f9241615d2
					
				
					 2 changed files with 7 additions and 7 deletions
				
			
		|  | @ -73,7 +73,7 @@ EOF | ||||||
| 
 | 
 | ||||||
| # Let's load docker images from remote | # Let's load docker images from remote | ||||||
| fuECHO "### Downloading docker images from DockerHub. Please be patient, this may take a while." | 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 | do | ||||||
|   docker pull dtagdevsec/$name |   docker pull dtagdevsec/$name | ||||||
| done | done | ||||||
|  | @ -86,7 +86,7 @@ APT::Periodic::Download-Upgradeable-Packages "0"; | ||||||
| APT::Periodic::AutocleanInterval "7"; | APT::Periodic::AutocleanInterval "7"; | ||||||
| EOF | 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." | fuECHO "### Wait no longer for network than 60 seconds." | ||||||
| sed -i.bak 's#sleep 60#sleep 30#' /etc/init/failsafe.conf | 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 | # Check if containers and services are up | ||||||
| */5 * * * * 	root 	/usr/bin/check.sh | */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 | 27 1 * * *  	root	for i in \$(cat /data/images.conf); do /usr/bin/docker pull dtagdevsec/\$i:latest; done | ||||||
| 
 | 
 | ||||||
| # Restart docker service and containers | # Restart docker service and containers | ||||||
|  |  | ||||||
|  | @ -4,12 +4,12 @@ | ||||||
| # T-Pot Community Edition                              # | # T-Pot Community Edition                              # | ||||||
| # .ISO maker                                           # | # .ISO maker                                           # | ||||||
| #                                                      # | #                                                      # | ||||||
| # v0.13 by mo, DTAG, 2015-07-14                        # | # v0.14 by mo, DTAG, 2015-08-11                        # | ||||||
| ######################################################## | ######################################################## | ||||||
| 
 | 
 | ||||||
| # Let's define some global vars | # Let's define some global vars | ||||||
| myUBUNTULINK="http://releases.ubuntu.com/14.04.2/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.2-server-amd64.iso" | myUBUNTUISO="ubuntu-14.04.3-server-amd64.iso" | ||||||
| myTPOTCEISO="tpotce.iso" | myTPOTCEISO="tpotce.iso" | ||||||
| myTPOTCEDIR="tpotceiso" | myTPOTCEDIR="tpotceiso" | ||||||
| myTMP="tmp" | myTMP="tmp" | ||||||
|  | @ -30,7 +30,7 @@ apt-get update -y | ||||||
| apt-get install genisoimage syslinux syslinux-utils -y | apt-get install genisoimage syslinux syslinux-utils -y | ||||||
| 
 | 
 | ||||||
| # Let's get Ubuntu 14.04.2 as .iso | # Let's get Ubuntu 14.04.2 as .iso | ||||||
| fuECHO "### Downloading Ubuntu 14.04.2." | fuECHO "### Downloading Ubuntu 14.04.3." | ||||||
| if [ ! -f $myUBUNTUISO ] | if [ ! -f $myUBUNTUISO ] | ||||||
|   then wget $myUBUNTULINK; |   then wget $myUBUNTULINK; | ||||||
|   else fuECHO "### Found it locally."; |   else fuECHO "### Found it locally."; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 t3chn0m4g3
						t3chn0m4g3