diff --git a/scripts/falco-driver-loader b/scripts/falco-driver-loader index 1c9a31ed8ad..7897ef21eb2 100755 --- a/scripts/falco-driver-loader +++ b/scripts/falco-driver-loader @@ -517,6 +517,7 @@ print_usage() { echo " DRIVERS_REPO specify a different URL where to look for prebuilt Falco drivers" echo " DRIVER_NAME specify a different name for the driver" echo " DRIVER_INSECURE_DOWNLOAD whether you want to allow insecure downloads or not" + echo " OVERRIDE_CURL_OPTIONS specify custom options to be passed to curl command used to download Falco drivers" echo "" echo "Versions:" echo " Falco version ${FALCO_VERSION}" @@ -543,6 +544,8 @@ else FALCO_DRIVER_CURL_OPTIONS=-fsS fi +FALCO_DRIVER_CURL_OPTIONS=${OVERRIDE_CURL_OPTIONS-FALCO_DRIVER_CURL_OPTIONS} + if [[ -z "$MAX_RMMOD_WAIT" ]]; then MAX_RMMOD_WAIT=60 fi