Skip to content

Update and uninstall

The dashboard shows each agent’s version, refreshed every time it registers. latest.json names the current release.

The agent does not update itself. Re-run the way you installed it; the configuration is kept.

Terminal window
curl -fsSL https://www.infrality.io/agent/install.sh | sudo bash
sudo systemctl daemon-reload
sudo systemctl restart infrality-agent

With a package, install the newer .deb or .rpm over the old one; /etc/infrality-agent/config.yaml is kept.

Re-running the installer also brings an older install up to today’s privilege model: it creates the service account, fixes the ownership of the configuration and rewrites the unit.

First delete the agent on the dashboard — that revokes the API keys bound to it — then remove it from the machine.

Installed with the script:

Terminal window
sudo systemctl disable --now infrality-agent
sudo rm /etc/systemd/system/infrality-agent.service /usr/local/bin/infrality-agent
sudo systemctl daemon-reload
sudo rm -rf /etc/infrality-agent /var/lib/infrality-agent
sudo userdel infrality-agent

Installed from a package:

Terminal window
sudo apt remove infrality-agent # or: sudo dnf remove infrality-agent