Skip to content

Commit b679107

Browse files
committed
Set MACAddressPolicy=none for Ubuntu 24.04
1 parent 4180bf5 commit b679107

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nodeup/pkg/model/networking/amazon-vpc-routed-eni.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,11 @@ ManageForeignRoutingPolicyRules=no
6565
})
6666
}
6767

68-
// Running Amazon VPC CNI on Ubuntu 22.04 or any version of al2023 requires
68+
// Running Amazon VPC CNI on Ubuntu 22.04+ or any version of al2023 requires
6969
// setting MACAddressPolicy to `none` (ref: https://github.com/aws/amazon-vpc-cni-k8s/issues/2103
70+
// & https://github.com/aws/amazon-vpc-cni-k8s/issues/2839
7071
// & https://github.com/kubernetes/kops/issues/16255)
71-
if (b.Distribution.IsUbuntu() && b.Distribution.Version() == 22.04) ||
72+
if (b.Distribution.IsUbuntu() && b.Distribution.Version() >= 22.04) ||
7273
b.Distribution == distributions.DistributionAmazonLinux2023 {
7374
contents := `
7475
[Match]

0 commit comments

Comments
 (0)