Cloud-AWS icon indicating copy to clipboard operation
Cloud-AWS copied to clipboard

fix bash API-download script downloading ARM packages on non-ARM hosts

Open joekohlsdorf opened this issue 2 years ago • 3 comments

On Ubuntu 18/20 x86_64 the script tried to install the ARM64 package which was the first in the list with the "os_version": "18/20 - arm64".

This change makes the installer compatible with both ARM and non-ARM packages.

joekohlsdorf avatar Aug 25 '22 22:08 joekohlsdorf

By the way, the installers API should a) return the architecture in a separate field b) have a filter for the architecture

The current way of doing this is a terrible hack.

joekohlsdorf avatar Aug 25 '22 22:08 joekohlsdorf

@joekohlsdorf would you mind adding this to the https://github.com/CrowdStrike/falcon-scripts/blob/main/bash/install/falcon-linux-install.sh script which has a lot more functionality? We'd like to deprecate this script in favor of the new one.

redhatrises avatar Aug 25 '22 22:08 redhatrises

I won't add it to the other script because I'm not using it and I don't have any experience using it. But feel free to incorporate the ideas/code of the PRs I proposed into the new script, it looks like it has the same issues.

joekohlsdorf avatar Aug 25 '22 22:08 joekohlsdorf