Skip to content

Commit

Permalink
fix(bash install): update falcon-linux-install.sh role to take advant…
Browse files Browse the repository at this point in the history
…age of v2 sensor_download module (#313)

Fixes #312
  • Loading branch information
carlosmmatos authored Jun 10, 2024
1 parent 4dfcccb commit cd4a0d5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bash/install/falcon-linux-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ cs_sensor_download() {
fi

existing_installers=$(
curl_command -G "https://$(cs_cloud)/sensors/combined/installers/v1?sort=version|desc" \
curl_command -G "https://$(cs_cloud)/sensors/combined/installers/v2?sort=version|desc" \
--data-urlencode "filter=os:\"$cs_os_name\"+os_version:\"*$cs_os_version*\"$cs_api_version_filter$cs_os_arch_filter"
)

Expand Down Expand Up @@ -777,13 +777,13 @@ cs_os_arch=$(
cs_os_arch_filter=$(
case "${cs_os_arch}" in
x86_64)
echo "+os_version:!~\"arm64\"+os_version:!~\"zLinux\""
echo "+architectures:\"x86_64\""
;;
aarch64)
echo "+os_version:~\"arm64\""
echo "+architectures:\"arm64\""
;;
s390x)
echo "+os_version:~\"zLinux\""
echo "+architectures:\"s390x\""
;;
*)
die "Unrecognized OS architecture: ${cs_os_arch}"
Expand Down

0 comments on commit cd4a0d5

Please sign in to comment.