mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-31 01:34:23 +02:00
Merge pull request #1392 from ianchesal/ianchesal.recognize-cos
Add .editorconfig and detection for Google's Container-Optimized OS
This commit is contained in:
commit
68c99760a1
7
.editorconfig
Normal file
7
.editorconfig
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# See: https://editorconfig.org/
|
||||||
|
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
@ -226,6 +226,11 @@
|
|||||||
OS_NAME="CoreOS Linux"
|
OS_NAME="CoreOS Linux"
|
||||||
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||||
;;
|
;;
|
||||||
|
"cos")
|
||||||
|
LINUX_VERSION="Container-Optimized OS"
|
||||||
|
OS_NAME="Container-Optimized OS from Google"
|
||||||
|
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||||
|
;;
|
||||||
"debian")
|
"debian")
|
||||||
LINUX_VERSION="Debian"
|
LINUX_VERSION="Debian"
|
||||||
OS_NAME="Debian"
|
OS_NAME="Debian"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user