mirror of https://github.com/CISOfy/lynis.git
Add support for Flatcar Container Linux
Fixes cisofy/lynis#1014. Flatcar is a for of CoreOS. Thus the variable LINUX_VERSION_LIKE (introduced with #1004) for Flatcar is CoreOS.
This commit is contained in:
parent
7df0b8618b
commit
93a71539d5
|
@ -190,6 +190,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"
|
||||
|
|
Loading…
Reference in New Issue