use certbot from apt not snap (#16081)

This commit is contained in:
sakridge 2021-03-23 15:22:47 -07:00 committed by GitHub
parent 2d24d13046
commit afbd09062d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions

View File

@ -4,11 +4,7 @@ set -ex
[[ $(uname) = Linux ]] || exit 1
[[ $USER = root ]] || exit 1
snap install core
snap refresh core
snap install --classic certbot
ln -sf /snap/bin/certbot /usr/bin/certbot
apt install -y certbot
cat > /certbot-restore.sh <<'EOF'
#!/usr/bin/env bash