From c0b2d82f1c6ed64d9822a2ba4304f2b28722fa95 Mon Sep 17 00:00:00 2001 From: Antti Kervinen Date: Mon, 20 Sep 2021 10:46:44 +0300 Subject: [PATCH] e2e: fix cloud-init error on distro=debian-sid sysctl may fail when rp_filter is not available in the kernel. --- demo/lib/distro.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/lib/distro.bash b/demo/lib/distro.bash index 9c4877cde..2c3522c5a 100644 --- a/demo/lib/distro.bash +++ b/demo/lib/distro.bash @@ -750,7 +750,7 @@ echo "net.ipv4.ip_forward = 1" >> /etc/sysctl.d/k8s.conf # However, rp_filter > 0 breaks cilium networking. Make sure it's disabled. echo "net.ipv4.conf.*.rp_filter = 0" >> /etc/sysctl.d/k8s.conf -/sbin/sysctl -p /etc/sysctl.d/k8s.conf +/sbin/sysctl -p /etc/sysctl.d/k8s.conf || : EOF }