mirror of https://github.com/kubernetes/kops.git
Use yum instead of dnf on Amazon Linux 2
Signed-off-by: Connor Catlett <conncatl@amazon.com>
This commit is contained in:
parent
fb666c7924
commit
d4fe130e78
|
@ -91,6 +91,8 @@ func (d *Distribution) HasDNF() bool {
|
|||
return d.version >= 8
|
||||
case "fedora":
|
||||
return d.version >= 22
|
||||
case "amazonlinux2":
|
||||
return false
|
||||
default:
|
||||
klog.Warningf("unknown project for HasDNF (%q), assuming does support dnf", d.project)
|
||||
return true
|
||||
|
|
Loading…
Reference in New Issue