mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-28 11:18:51 +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
|
||||
fuECHO "### Pulling Updates."
|
||||
apt-get update -y
|
||||
fuECHO "### Installing Upgrades."
|
||||
apt-get upgrade -y
|
||||
|
||||
# Let's install docker
|
||||
fuECHO "### Installing docker-engine."
|
||||
|
@ -361,6 +359,10 @@ ip = $myEXTIP
|
|||
EOF
|
||||
chown tpot:tpot /data/ews/conf/ews.ip
|
||||
|
||||
# Installing upgrades
|
||||
fuECHO "### Installing Upgrades."
|
||||
apt-get upgrade -y
|
||||
|
||||
# Final steps
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue