fix(bridge): pick up MAC from another interface
This avoids the OPERSTATE unknown when the bridge is brought up but the members are not ready yet. This will make OPERSTATE to down, enabling us to wait until we have brought up completely all the members. Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
parent
f0b4e826cb
commit
21ff11503e
3 changed files with 15 additions and 3 deletions
|
@ -9,6 +9,7 @@
|
|||
ip link set up dev ${ifname}
|
||||
(in_outputs ${name}
|
||||
echo ${ifname} > ifname
|
||||
cat /sys/class/net/${ifname}/address > ether
|
||||
)
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue