net/gce.sh: Upgrade to Ubuntu 20.04

This commit is contained in:
Trent Nelson
2020-12-17 13:50:21 -07:00
committed by mergify[bot]
parent a0507505f4
commit 3322b83183
2 changed files with 8 additions and 6 deletions

View File

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