mirror of
https://github.com/GNS3/gns3-registry.git
synced 2024-12-23 14:42:27 +00:00
OpenSwitch: activate ethernet interfaces
This commit is contained in:
parent
c335b15b2e
commit
194680d52e
@ -34,6 +34,6 @@ sudo /opt/bootlocal.sh
|
||||
|
||||
sudo ovs-vsctl add-br br0
|
||||
|
||||
echo 'for interface in `ip link | cut -d " " -f2 | grep "eth" | sed "s/:$//"`;do ovs-vsctl add-port br0 $interface; done' >> /opt/bootlocal.sh
|
||||
echo 'for interface in `ip link | cut -d " " -f2 | grep "eth" | sed "s/:$//"`;do ip link set dev $interface up; ovs-vsctl add-port br0 $interface; done' >> /opt/bootlocal.sh
|
||||
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user