mirror of https://github.com/kubernetes/kops.git
Fix identity string for RHEL8
This commit is contained in:
parent
b9644b6f9b
commit
a5cfb6c2c2
|
@ -75,7 +75,7 @@ func FindDistribution(rootfs string) (Distribution, error) {
|
|||
if strings.HasPrefix(line, "CentOS Linux release 7.") {
|
||||
return DistributionCentos7, nil
|
||||
}
|
||||
if strings.HasPrefix(line, "Red Hat Enterprise Linux Server release 8.") {
|
||||
if strings.HasPrefix(line, "Red Hat Enterprise Linux release 8.") {
|
||||
return DistributionRhel8, nil
|
||||
}
|
||||
if strings.HasPrefix(line, "CentOS Linux release 8.") {
|
||||
|
|
Loading…
Reference in New Issue