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 <[email protected]>
AuthorDate: Wed Oct 2 23:07:17 2024 +0800
Fix RockyLinux-8 support (#3842)
Co-authored-by: LiQin <[email protected]>
Signed-off-by: Mohammad Arshad <[email protected]>
---
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: [email protected]
For additional commands, e-mail: [email protected]