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 stopDownload the latest
hdagent.shfrom GitHub:wget https//raw.githubusercontent.com/fivetran/hybrid_deployment/main/hdagent.shReplace the old script with the new one:
rm hdagent.sh mv hdagent.sh.1 hdagent.shMake the script executable:
chmod u+x hdagent.shRestart the Hybrid Deployment Agent:
./hdagent.sh start