mirror of
https://github.com/falcosecurity/falco.git
synced 2025-07-04 10:26:40 +00:00
new(scripts): updated falco-driver-loader to properly support talos.
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
This commit is contained in:
parent
09b5cb7c7b
commit
577bccabd0
@ -200,6 +200,11 @@ get_target_id() {
|
|||||||
# version_id has been sourced from os-release. Build a kernel version like: 1_1.11.0-aws
|
# version_id has been sourced from os-release. Build a kernel version like: 1_1.11.0-aws
|
||||||
KERNEL_VERSION="1_${VERSION_ID}-${VARIANT_ID_CUT}"
|
KERNEL_VERSION="1_${VERSION_ID}-${VARIANT_ID_CUT}"
|
||||||
;;
|
;;
|
||||||
|
("talos")
|
||||||
|
TARGET_ID=$(echo "${OS_ID}" | tr '[:upper:]' '[:lower:]')
|
||||||
|
# version_id has been sourced from os-release. Build a kernel version like: 1_1.4.1
|
||||||
|
KERNEL_VERSION="1_${VERSION_ID}"
|
||||||
|
;;
|
||||||
(*)
|
(*)
|
||||||
TARGET_ID=$(echo "${OS_ID}" | tr '[:upper:]' '[:lower:]')
|
TARGET_ID=$(echo "${OS_ID}" | tr '[:upper:]' '[:lower:]')
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user