Added a apt update to begin of installation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user