Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2020-10-20 14:14:18 +0300
committerGitHub <noreply@github.com>2020-10-20 14:14:18 +0300
commit4a99f3bdad52971ee920e8b69557c62cd46234c1 (patch)
tree32eb0804d6e426fb4ce07c9513ff30893250ad47 /include/osdetection
parent551429d85bb9b4db7d5595c427998c7420e4b036 (diff)
parent93a71539d58251b47f07783b4a7d97813460bb81 (diff)
Merge pull request #1017 from Varbin/1014-flatcar-detection
Add support for Flatcar Container Linux
Diffstat (limited to 'include/osdetection')
-rw-r--r--include/osdetection6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/osdetection b/include/osdetection
index 89455e0f..b52ab188 100644
--- a/include/osdetection
+++ b/include/osdetection
@@ -196,6 +196,12 @@
OS_REDHAT_OR_CLONE=1
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
;;
+ "flatcar")
+ LINUX_VERSION="Flatcar"
+ LINUX_VERSION_LIKE="CoreOS"
+ OS_NAME="Flatcar Linux"
+ OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
+ ;;
"gentoo")
LINUX_VERSION="Gentoo"
OS_NAME="Gentoo Linux"