mirror of
https://github.com/CISOfy/lynis.git
synced 2025-04-08 17:15:25 +02:00
feat(cos): Add detection for Google's Container-Optimized OS
This commit is contained in:
parent
8ac8629bfe
commit
1aba2b1409
@ -208,6 +208,11 @@
|
||||
OS_NAME="CoreOS Linux"
|
||||
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")
|
||||
LINUX_VERSION="Debian"
|
||||
OS_NAME="Debian"
|
||||
|
Loading…
x
Reference in New Issue
Block a user