Skip to content

Commit

Permalink
files: persist the bridge-nf-call-iptables across rke2 restart
Browse files Browse the repository at this point in the history
The bridge-nf-call-iptables should be disabled by network-controller.
But rke2 will toggle it back to enable. Need to make sure it stays
at disabled.

Signed-off-by: Chris Chiu <[email protected]>
  • Loading branch information
mingshuoqiu authored and mschiu77 committed Nov 26, 2024
1 parent 9e1027f commit 853e4e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ Wants=time-sync.target

[Service]
ExecStartPre=/usr/sbin/harv-update-rke2-server-url agent
ExecStartPost=/sbin/sysctl -w net.bridge.bridge-nf-call-iptables=0
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ Wants=time-sync.target

[Service]
ExecStartPre=/usr/sbin/harv-update-rke2-server-url server
ExecStartPost=/sbin/sysctl -w net.bridge.bridge-nf-call-iptables=0

0 comments on commit 853e4e3

Please sign in to comment.