We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ad8612 commit a15f161Copy full SHA for a15f161
pkg/daemon/osrelease/osrelease.go
@@ -91,8 +91,11 @@ func (os OperatingSystem) BaseVersionMajor() string {
91
92
// IsEL is true if the OS is an Enterprise Linux variant of CoreOS
93
// i.e. RHEL CoreOS (RHCOS) or CentOS Stream CoreOS (SCOS)
94
+// As of https://github.com/openshift/installer/pull/9392, the
95
+// openshift installer uses RHEL base images, so rhel is now
96
+// considered a valid "Enterprise Linux" variant.
97
func (os OperatingSystem) IsEL() bool {
- return os.id == rhcos || os.id == scos
98
+ return os.id == rhcos || os.id == scos || os.id == rhel
99
}
100
101
// IsEL8 is true if the OS is RHCOS 8 or SCOS 8
0 commit comments