Browse Source

Merge "(fix) Fix br_netfilter disable persistence"

changes/37/676737/1
Zuul 1 month ago
parent
commit
6e93527dac
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      tools/multi_nodes_gate/setup_gate.sh

+ 4
- 0
tools/multi_nodes_gate/setup_gate.sh View File

@@ -100,6 +100,10 @@ net.bridge.bridge-nf-call-ip6tables = 0
100 100
 net.bridge.bridge-nf-call-iptables = 0
101 101
 net.bridge.bridge-nf-call-arptables = 0
102 102
 EOF
103
+cat << EOF | sudo tee /etc/udev/rules.d/99-bridge.rules
104
+ACTION=="add", SUBSYSTEM=="module", KERNEL=="br_netfilter", \
105
+                RUN+="/lib/systemd/systemd-sysctl --prefix=/net/bridge"
106
+EOF
103 107
 besteffort sudo sysctl -p /etc/sysctl.d/60-bridge.conf
104 108
 
105 109
 if [[ ${REQUIRE_RELOG} -eq 1 ]]; then

Loading…
Cancel
Save