net/gce.sh: Upgrade to Ubuntu 20.04

(cherry picked from commit 3322b83183)
This commit is contained in:
Trent Nelson
2020-12-17 13:50:21 -07:00
committed by Trent Nelson
parent 6388603ba0
commit c9a8736a5a
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