From c807832ea2bb3ab0a6cdee4f44f2d566b75cf0ac Mon Sep 17 00:00:00 2001 From: srstack Date: Wed, 9 Mar 2022 15:04:10 +0800 Subject: [PATCH 1/2] fix --- pkg/cluster/operation/check.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cluster/operation/check.go b/pkg/cluster/operation/check.go index 25808fb5b4..25b0881d4d 100644 --- a/pkg/cluster/operation/check.go +++ b/pkg/cluster/operation/check.go @@ -173,7 +173,7 @@ func checkOSInfo(opt *CheckOptions, osInfo *sysinfo.OS) *CheckResult { osInfo.Name, osInfo.Release) return result } - case "centos", "redhat", "rhel": + case "centos", "redhat", "rhel", "ol": // check version // CentOS 8 is known to be not working, and we don't have plan to support it // as of now, we may add support for RHEL 8 based systems in the future. From 8c77d8966d9cbfc7daad2d2dc69ff40385b890ef Mon Sep 17 00:00:00 2001 From: srstack Date: Wed, 9 Mar 2022 15:09:51 +0800 Subject: [PATCH 2/2] fix --- pkg/cluster/operation/check.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cluster/operation/check.go b/pkg/cluster/operation/check.go index 25808fb5b4..25b0881d4d 100644 --- a/pkg/cluster/operation/check.go +++ b/pkg/cluster/operation/check.go @@ -173,7 +173,7 @@ func checkOSInfo(opt *CheckOptions, osInfo *sysinfo.OS) *CheckResult { osInfo.Name, osInfo.Release) return result } - case "centos", "redhat", "rhel": + case "centos", "redhat", "rhel", "ol": // check version // CentOS 8 is known to be not working, and we don't have plan to support it // as of now, we may add support for RHEL 8 based systems in the future.