Fix certbot installation in AMI (#29104)

Moves the `certbot` symlink to the location expected by the `systemd`
units.
This commit is contained in:
Trent Clarke 2023-07-18 10:33:22 +10:00 committed by GitHub
parent ed8d212812
commit c519c51378
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ dnf install -y uuid python3
python3 -m venv /opt/certbot
/opt/certbot/bin/pip install --upgrade pip
/opt/certbot/bin/pip install certbot certbot-dns-route53
ln -s /opt/certbot/bin/certbot /usr/bin/certbot
ln -s /opt/certbot/bin/certbot /usr/local/bin/certbot
# Create teleport user. It is helpful to share the same UID
# to have the same permissions on shared NFS volumes across auth servers and for consistency.