Skip to content

Commit 7c831bf

Browse files
committed
Fix os_name_map for RHEL8.
- RHEL8 no longer has a distinction between server and client, so the contents of /etc/redhat-release and similar files no longer contain such labels.
1 parent 4d4b24e commit 7c831bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

easybuild/tools/systemtools.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,7 @@ def get_os_name():
563563

564564
os_name_map = {
565565
'red hat enterprise linux server': 'RHEL',
566+
'red hat enterprise linux': 'RHEL', # RHEL8 has no server/client
566567
'scientific linux sl': 'SL',
567568
'scientific linux': 'SL',
568569
'suse linux enterprise server': 'SLES',

0 commit comments

Comments
 (0)