summaryrefslogtreecommitdiff
path: root/lib/spack/external
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2020-02-28 11:27:16 -0600
committerGitHub <noreply@github.com>2020-02-28 11:27:15 -0600
commit513f9235c3bb7ad066dd8e494636fc59a2b3e747 (patch)
tree338211e12146995a8fa50975c76d3570c5ecf5ac /lib/spack/external
parentf2fa4c1e4b20a36a2a1787d69271c1b09544614e (diff)
downloadspack-513f9235c3bb7ad066dd8e494636fc59a2b3e747.tar.gz
spack-513f9235c3bb7ad066dd8e494636fc59a2b3e747.tar.bz2
spack-513f9235c3bb7ad066dd8e494636fc59a2b3e747.tar.xz
spack-513f9235c3bb7ad066dd8e494636fc59a2b3e747.zip
Fix detection of redhat enterprise compute node (#15253)
* Fix detection of redhat enterprise compute node * Add comma * Remove space
Diffstat (limited to 'lib/spack/external')
-rw-r--r--lib/spack/external/distro.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/spack/external/distro.py b/lib/spack/external/distro.py
index b63451640a..e3805de75f 100644
--- a/lib/spack/external/distro.py
+++ b/lib/spack/external/distro.py
@@ -64,6 +64,7 @@ NORMALIZED_LSB_ID = {
'enterpriseenterprise': 'oracle', # Oracle Enterprise Linux
'redhatenterpriseworkstation': 'rhel', # RHEL 6, 7 Workstation
'redhatenterpriseserver': 'rhel', # RHEL 6, 7 Server
+ 'redhatenterprisecomputenode': 'rhel', # RHEL 6 ComputeNode
}
#: Translation table for normalizing the distro ID derived from the file name