From a97801d5eb993b248e0a61013e60e95bcdef22f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9=20=D0=A2=D0=B0=D1=80?= =?UTF-8?q?=D0=B0=D0=BD=D0=B5=D0=BD=D0=BA=D0=BE?= Date: Wed, 18 Aug 2021 20:06:55 +0300 Subject: [PATCH] CloudLinux recognition in Red Hat 8 --- lib/Rex/Hardware/Host.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Rex/Hardware/Host.pm b/lib/Rex/Hardware/Host.pm index dbb8e0351..cdb83504a 100644 --- a/lib/Rex/Hardware/Host.pm +++ b/lib/Rex/Hardware/Host.pm @@ -173,6 +173,9 @@ sub get_operating_system { elsif ( $content =~ m/Scientific/ ) { return "Scientific"; } + elsif ( $content =~ m/CloudLinux/ ) { + return 'CloudLinux'; + } else { return "Redhat"; }