Open alex-ritter opened 2 months ago
Hi @alex-ritter,
What's blocking you from installing which as well?
We could update the script with a different detection. Does either command -v curl
or type curl
work on your container?
Hi Pascal
It's currently not affecting my deployment currently since I know why the script is failing. The script is failing because it can't find the package 'Which' on Alma Linux 9 by default but there isn't a condition to check if this package is installed. Netbird uses Which to check if Curl or JQ is installed so what's why it's saying that curl is uninstalled.
I can take a look at this and update the script once I finish the netbird deployment on my side :) It should be a simple enough fix and I've already updated the script on my end to handle it.
Describe the problem
When trying to run configure.sh from infrastructure_files the following error message happens :
'This script uses curl fetch OpenID configuration from IDP.'
Currently I'm installing NetBird via ansible to deploy NetBird as IaC, and I'm installing curl before installing Netbird. Directly in the terminal I can run curl before running configure.sh
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Netbird should know Curl is installed and move onto the JQ check
Are you using NetBird Cloud?
No
NetBird version
Latest (installed latest from GitHub via IaC)
Additional context
The reason why Netbird fails to verify Curl is installed is because configure.sh is using Which to check if curl is installed, and Which actually is not installed by default on Red Hat / Alma Linux 9, at least for Alma Linux LXC cloud containers.