From c228e8c00fc0ba89e63c3b5f1ee9ca1ebd4854cd Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 16 Sep 2021 18:51:39 +0200 Subject: [PATCH] F #227: Fix RHEL 6 detection --- src/etc/one-context.d/loc-10-network.d/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/etc/one-context.d/loc-10-network.d/functions b/src/etc/one-context.d/loc-10-network.d/functions index cdcdeb1..02c5f40 100644 --- a/src/etc/one-context.d/loc-10-network.d/functions +++ b/src/etc/one-context.d/loc-10-network.d/functions @@ -206,7 +206,7 @@ detect_os() elif [ -f /etc/centos-release ]; then echo 'centos' elif [ -f /etc/redhat-release ]; then - echo 'redhat' + echo 'rhel' # fallback to uname (returns Linux, FreeBSD, ...) else