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 00:33:22 +00:00
committed by GitHub
parent ed8d212812
commit c519c51378
+1 -1
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.