mirror of
https://github.com/GNS3/gns3-registry.git
synced 2024-12-18 20:37:57 +00:00
Merge pull request #887 from b-ehlers/openvswitch
openvswitch - IP configuration for bridge interfaces
This commit is contained in:
commit
0a41fe32ab
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user