Merge pull request #887 from b-ehlers/openvswitch

openvswitch - IP configuration for bridge interfaces
This commit is contained in:
Jeremy Grossmann 2024-05-15 20:37:48 +07:00 committed by GitHub
commit 0a41fe32ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,7 +46,9 @@ if [ $firstrun -ne 0 ]; then
done
fi
# activate br0..br3
for intf in br0 br1 br2 br3; do
ip link set dev $intf up
# activate bridge interfaces
ovs-vsctl --bare -f table --columns=name find interface type=internal | \
while read -r intf; do
ip link set dev "$intf" up
ifup -f "$intf"
done