Added a apt update to begin of installation

This commit is contained in:
bprieshof
2019-10-17 20:16:43 +02:00
parent 3744f5ff84
commit aaefe58d58

View File

@@ -199,6 +199,7 @@ service sshd restart
echo "root:$password" | chpasswd
cd /tmp
#mv /boot/grub/menu.lst /boot/grub/menu.lst.bck
apt update #to avoid apt being unable to install software-properties-common
apt install -y software-properties-common
add-apt-repository -y ppa:certbot/certbot
add-apt-repository -y ppa:ondrej/php