mirror of https://github.com/kubernetes/kops.git
Install cgroupfs-mount for distros lower than Debian Trixie
According to https://tracker.debian.org/pkg/cgroupfs-mount, the package has been removed starting with Debian 13. Based on this, we believe it's unlikely it make it to Ubuntu 26.04. Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
This commit is contained in:
parent
7850359c2f
commit
ddc21c750f
|
@ -40,7 +40,9 @@ func (b *PackagesBuilder) Build(c *fi.NodeupModelBuilderContext) error {
|
|||
if b.Distribution.IsDebianFamily() {
|
||||
// From containerd: https://github.com/containerd/cri/blob/master/contrib/ansible/tasks/bootstrap_ubuntu.yaml
|
||||
c.AddTask(&nodetasks.Package{Name: "bridge-utils"})
|
||||
c.AddTask(&nodetasks.Package{Name: "cgroupfs-mount"})
|
||||
if (b.Distribution.IsDebian() && b.Distribution.Version() < 13) || (b.Distribution.IsUbuntu() && b.Distribution.Version() < 25.10) {
|
||||
c.AddTask(&nodetasks.Package{Name: "cgroupfs-mount"})
|
||||
}
|
||||
c.AddTask(&nodetasks.Package{Name: "conntrack"})
|
||||
c.AddTask(&nodetasks.Package{Name: "ebtables"})
|
||||
c.AddTask(&nodetasks.Package{Name: "ethtool"})
|
||||
|
|
Loading…
Reference in New Issue