From 00dd446f7d0a229394772fdc90065a198c864491 Mon Sep 17 00:00:00 2001 From: Marco Ochse Date: Wed, 1 Jun 2016 22:10:31 +0200 Subject: [PATCH] Move install upgrades towards end of the installer since update of some kernel modules prevent docker daemon from starting if not rebooted first. --- installer/install.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/installer/install.sh b/installer/install.sh index bdd11c6e..5be922ae 100755 --- a/installer/install.sh +++ b/installer/install.sh @@ -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