Merge "(multinode) Besteffort to disable brnetfilter"
This commit is contained in:
commit
497691fe7d
|
@ -134,3 +134,9 @@ join_array() {
|
||||||
shift
|
shift
|
||||||
echo "$*"
|
echo "$*"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
besteffort() {
|
||||||
|
set +e
|
||||||
|
$@
|
||||||
|
set -e
|
||||||
|
}
|
||||||
|
|
|
@ -100,7 +100,7 @@ net.bridge.bridge-nf-call-ip6tables = 0
|
||||||
net.bridge.bridge-nf-call-iptables = 0
|
net.bridge.bridge-nf-call-iptables = 0
|
||||||
net.bridge.bridge-nf-call-arptables = 0
|
net.bridge.bridge-nf-call-arptables = 0
|
||||||
EOF
|
EOF
|
||||||
sudo sysctl -p /etc/sysctl.d/60-bridge.conf
|
besteffort sudo sysctl -p /etc/sysctl.d/60-bridge.conf
|
||||||
|
|
||||||
if [[ ${REQUIRE_RELOG} -eq 1 ]]; then
|
if [[ ${REQUIRE_RELOG} -eq 1 ]]; then
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Reference in New Issue