mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-30 17:24:32 +02:00
Merge pull request #1150 from fredbriand/master
Added detection of Rocky Linux to include/osdetection
This commit is contained in:
commit
93060cf2aa
@ -325,6 +325,12 @@
|
|||||||
OS_VERSION_FULL=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
OS_VERSION_FULL=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||||
OS_FULLNAME="${OS_NAME} ${OS_VERSION_FULL}"
|
OS_FULLNAME="${OS_NAME} ${OS_VERSION_FULL}"
|
||||||
OS_REDHAT_OR_CLONE=1
|
OS_REDHAT_OR_CLONE=1
|
||||||
|
;;
|
||||||
|
"rocky")
|
||||||
|
LINUX_VERSION="Rocky Linux"
|
||||||
|
OS_NAME="Rocky Linux"
|
||||||
|
OS_REDHAT_OR_CLONE=1
|
||||||
|
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||||
;;
|
;;
|
||||||
"rosa")
|
"rosa")
|
||||||
LINUX_VERSION="ROSA Linux"
|
LINUX_VERSION="ROSA Linux"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user