This is an automated email from the ASF dual-hosted git repository.

arshad pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new b3cfd49331 Fix RockyLinux-8 support (#3842)
b3cfd49331 is described below

commit b3cfd49331a1f50846391b55ddde5b54662f728e
Author: liqinwyyx <liqinw...@hotmail.com>
AuthorDate: Wed Oct 2 23:07:17 2024 +0800

    Fix RockyLinux-8 support (#3842)
    
    Co-authored-by: LiQin <li...@keendata.com>
    Signed-off-by: Mohammad Arshad <ars...@apache.org>
---
 ambari-common/src/main/python/ambari_commons/os_check.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ambari-common/src/main/python/ambari_commons/os_check.py 
b/ambari-common/src/main/python/ambari_commons/os_check.py
index 59e11fb27c..71e03aee40 100644
--- a/ambari-common/src/main/python/ambari_commons/os_check.py
+++ b/ambari-common/src/main/python/ambari_commons/os_check.py
@@ -248,7 +248,7 @@ class OSCheck:
       operatingSystem = 'sles'
     elif operatingSystem.startswith('red hat enterprise linux'):
       operatingSystem = 'redhat'
-    elif operatingSystem.startswith('rocky linux'):
+    elif operatingSystem.startswith('rocky'):
       operatingSystem = 'redhat'
     elif operatingSystem.startswith('darwin'):
       operatingSystem = 'mac'


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@ambari.apache.org
For additional commands, e-mail: commits-h...@ambari.apache.org

Reply via email to