From 701e0119669d5e93ec616f3c96369142e02bf7e3 Mon Sep 17 00:00:00 2001 From: Andrew Stowell Date: Tue, 21 Nov 2023 14:46:50 +0000 Subject: [PATCH] cloudflare support added to certbot pip install --- one-time-stuff/install-software.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/one-time-stuff/install-software.sh b/one-time-stuff/install-software.sh index f6e62c3..f14862d 100755 --- a/one-time-stuff/install-software.sh +++ b/one-time-stuff/install-software.sh @@ -62,7 +62,7 @@ echo "----- Install nginx ---------------------------------" install_collection 'nginx web-server' nginx echo "----- Install certbot via pip, in /opt/certbot/ -----" -read -p 'Install certbot, certbot-nginx, and certbot-dns-google-domain to /opt/certbot/ via pip in virtual environment? [y/N]: ' certbot_install +read -p 'Install certbot, certbot-nginx, certbot-dns-google-domain, and certbot-dns-cloudflare to /opt/certbot/ via pip in virtual environment? [y/N]: ' certbot_install case $certbot_install in [Yy]* ) if [ $called_update = false ]; then @@ -76,7 +76,7 @@ case $certbot_install in # see: https://certbot.eff.org/instructions?ws=nginx&os=pip sudo python3 -m venv /opt/certbot/ sudo /opt/certbot/bin/pip install --upgrade pip - sudo /opt/certbot/bin/pip install certbot certbot-nginx certbot-dns-google-domains + sudo /opt/certbot/bin/pip install certbot certbot-nginx certbot-dns-google-domains certbot-dns-cloudflare sudo ln -s /opt/certbot/bin/certbot /usr/bin/certbot ( cat << 'CRON'