File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,9 +41,14 @@ gem uninstall net-imap --force
4141# remove rexml gem as it has a known CVE (CVE-2025-58767) and is not used by the agent
4242gem uninstall rexml --force
4343
44- curl -L -o /tmp/azure-mdsd.rpm " https://github.com/microsoft/Docker-Provider/releases/download/mdsd-oom-kill-fix/azure-mdsd-1.42.0-pr.11279377.merge.6628.x86_64.rpm"
45- sudo tdnf install -y /tmp/azure-mdsd.rpm
46- rm -f /tmp/azure-mdsd.rpm
44+ # Only the x86_64 OOM-fix RPM is published in the GitHub release; arm64 falls back to the repo package.
45+ if [ " $ARCH " == " arm64" ]; then
46+ sudo tdnf install -y azure-mdsd-1.40.3
47+ else
48+ curl -L -o /tmp/azure-mdsd.rpm " https://github.com/microsoft/Docker-Provider/releases/download/mdsd-oom-kill-fix/azure-mdsd-1.42.0-pr.11279377.merge.6628.x86_64.rpm"
49+ sudo tdnf install -y /tmp/azure-mdsd.rpm
50+ rm -f /tmp/azure-mdsd.rpm
51+ fi
4752cp -f $TMPDIR /mdsd.xml /etc/mdsd.d
4853cp -f $TMPDIR /envmdsd /etc/mdsd.d
4954rm /usr/sbin/telegraf
You can’t perform that action at this time.
0 commit comments