diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2020-10-20 14:14:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-20 14:14:18 +0300 |
commit | 4a99f3bdad52971ee920e8b69557c62cd46234c1 (patch) | |
tree | 32eb0804d6e426fb4ce07c9513ff30893250ad47 /include/osdetection | |
parent | 551429d85bb9b4db7d5595c427998c7420e4b036 (diff) | |
parent | 93a71539d58251b47f07783b4a7d97813460bb81 (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/osdetection | 6 |
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" |