Skip to content

Commit

Permalink
do not set bridge-nf-call-iptables
Browse files Browse the repository at this point in the history
  • Loading branch information
fanriming authored and zhangzujian committed Oct 28, 2022
1 parent d6ddf89 commit 7adf4ea
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions dist/images/install-cni.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

set -u -e

if [[ -f "/proc/sys/net/bridge/bridge-nf-call-iptables" ]];
then echo 1 > /proc/sys/net/bridge/bridge-nf-call-iptables;
fi

if [[ -f "/proc/sys/net/ipv4/ip_forward" ]];
then echo 1 > /proc/sys/net/ipv4/ip_forward;
fi
Expand Down

0 comments on commit 7adf4ea

Please sign in to comment.