remove certbot-dns-powerdns istall, that is handled by powerdns-tools

This commit is contained in:
Matthew Saunders Brown 2024-06-14 14:53:10 -07:00
parent e4b529795b
commit bf3d1bd922

View File

@ -35,12 +35,11 @@ fi
#apt-get update #apt-get update
#DEBIAN_FRONTEND=noninteractive apt-get -y install certbot python3-certbot python3-certbot-apache #DEBIAN_FRONTEND=noninteractive apt-get -y install certbot python3-certbot python3-certbot-apache
# New pip method - gets latest version, and is needed for certbot-dns-powerdns on Debian 12 Bookworm & Ubuntu 24.04 Noble # New pip method - gets latest version, and is needed for certbot-dns-powerdns (installed by powerdns-tools) on Debian 12 Bookworm & Ubuntu 24.04 Noble
DEBIAN_FRONTEND=noninteractive apt-get -y install python3-pip python3-wheel python3-venv libaugeas0 DEBIAN_FRONTEND=noninteractive apt-get -y install python3-pip python3-wheel python3-venv libaugeas0
python3 -m venv /opt/certbot python3 -m venv /opt/certbot
/opt/certbot/bin/pip install --upgrade pip /opt/certbot/bin/pip install --upgrade pip
# pyyaml==5.3.1 currently needed by certbot-dns-powerdns /opt/certbot/bin/pip install certbot certbot-apache
/opt/certbot/bin/pip install certbot certbot-apache certbot-dns-powerdns pyyaml==5.3.1
ln -s /opt/certbot/bin/certbot /usr/bin/certbot ln -s /opt/certbot/bin/certbot /usr/bin/certbot
cp etc/cron.d/cerbot /etc/cron.d/cerbot cp etc/cron.d/cerbot /etc/cron.d/cerbot
chmod 644 /etc/cron.d/cerbot chmod 644 /etc/cron.d/cerbot