How to Update the hdagent.sh Script for Docker and Podman?
Question
How to update the hdagent.sh script for Docker and Podman?
Environment
Container platform: Docker and Podman
Answer
If you do not see the following line, you are using an older version (before this check was implemented):
Checking if script is the latest version... OK
To update the script to the latest version:
Stop the Hybrid Deployment Agent:
./hdagent.sh stop
Download the latest
hdagent.sh
from GitHub:wget https//raw.githubusercontent.com/fivetran/hybrid_deployment/main/hdagent.sh
Replace the old script with the new one:
rm hdagent.sh mv hdagent.sh.1 hdagent.sh
Make the script executable:
chmod u+x hdagent.sh
Restart the Hybrid Deployment Agent:
./hdagent.sh start