Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2020-10-02 11:57:58 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2020-10-02 11:57:58 +0300
commit5e0a4e685d84cf736c1c4795cd1b95bb24005eff (patch)
tree61d4be3046b88525a1fb7b05604b5d189fe0e4d8 /include/osdetection
parent768d8a62e8de6f63d5ace28b92dffed17a0a6061 (diff)
Added CloudLinux
Diffstat (limited to 'include/osdetection')
-rw-r--r--include/osdetection6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/osdetection b/include/osdetection
index c2726d31..9910b307 100644
--- a/include/osdetection
+++ b/include/osdetection
@@ -173,6 +173,12 @@
OS_REDHAT_OR_CLONE=1
OS_VERSION="Rolling release"
;;
+ "cloudlinux")
+ LINUX_VERSION="CloudLinux"
+ OS_NAME="CloudLinux"
+ OS_REDHAT_OR_CLONE=1
+ OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
+ ;;
"coreos")
LINUX_VERSION="CoreOS"
OS_NAME="CoreOS Linux"