mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
add another DEBIAN_FRONTEND=noninteractive
This commit is contained in:
parent
c3cb01d24a
commit
d0331eb762
1 changed files with 2 additions and 2 deletions
|
|
@ -7,8 +7,8 @@ if [ "$OS_TYPE" = "ubuntu" ]
|
|||
then
|
||||
CONFFILE=/etc/apache2/sites-available/000-default.conf
|
||||
sudo apt-get update
|
||||
sudo apt-get -y --no-upgrade install apache2 curl
|
||||
sudo apt-get -y install realpath # needed for test-apache-conf
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -y --no-upgrade install apache2 curl
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install realpath # needed for test-apache-conf
|
||||
# For apache 2.4, set up ServerName
|
||||
sudo sed -i '/ServerName/ s/#ServerName/ServerName/' $CONFFILE
|
||||
sudo sed -i '/ServerName/ s/www.example.com/'$PUBLIC_HOSTNAME'/' $CONFFILE
|
||||
|
|
|
|||
Loading…
Reference in a new issue