mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-28 19:28:50 +00:00
Move install upgrades towards end of the installer since update of some kernel modules prevent docker daemon from starting if not rebooted first.
This commit is contained in:
parent
bf7478442e
commit
00dd446f7d
1 changed files with 4 additions and 2 deletions
|
@ -160,8 +160,6 @@ EOF
|
||||||
# Let's pull some updates
|
# Let's pull some updates
|
||||||
fuECHO "### Pulling Updates."
|
fuECHO "### Pulling Updates."
|
||||||
apt-get update -y
|
apt-get update -y
|
||||||
fuECHO "### Installing Upgrades."
|
|
||||||
apt-get upgrade -y
|
|
||||||
|
|
||||||
# Let's install docker
|
# Let's install docker
|
||||||
fuECHO "### Installing docker-engine."
|
fuECHO "### Installing docker-engine."
|
||||||
|
@ -361,6 +359,10 @@ ip = $myEXTIP
|
||||||
EOF
|
EOF
|
||||||
chown tpot:tpot /data/ews/conf/ews.ip
|
chown tpot:tpot /data/ews/conf/ews.ip
|
||||||
|
|
||||||
|
# Installing upgrades
|
||||||
|
fuECHO "### Installing Upgrades."
|
||||||
|
apt-get upgrade -y
|
||||||
|
|
||||||
# Final steps
|
# Final steps
|
||||||
fuECHO "### Thanks for your patience. Now rebooting."
|
fuECHO "### Thanks for your patience. Now rebooting."
|
||||||
mv /root/tpot/etc/rc.local /etc/rc.local && rm -rf /root/tpot/ && chage -d 0 tsec && sleep 2 && reboot
|
mv /root/tpot/etc/rc.local /etc/rc.local && rm -rf /root/tpot/ && chage -d 0 tsec && sleep 2 && reboot
|
||||||
|
|
Loading…
Reference in a new issue