瀏覽代碼

Merge "(fix) Fix br_netfilter disable persistence"

changes/37/676737/1
Zuul Gerrit Code Review 7 月之前
父節點
當前提交
6e93527dac
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. +4
    -0
      tools/multi_nodes_gate/setup_gate.sh

+ 4
- 0
tools/multi_nodes_gate/setup_gate.sh 查看文件

@@ -100,6 +100,10 @@ net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0
EOF
cat << EOF | sudo tee /etc/udev/rules.d/99-bridge.rules
ACTION=="add", SUBSYSTEM=="module", KERNEL=="br_netfilter", \
RUN+="/lib/systemd/systemd-sysctl --prefix=/net/bridge"
EOF
besteffort sudo sysctl -p /etc/sysctl.d/60-bridge.conf

if [[ ${REQUIRE_RELOG} -eq 1 ]]; then


Loading…
取消
儲存