mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
bring bridge interfaces up
The bridge is not becoming operational until it is brought into the UP state. When the bridge is statically configured, this is mandatory.
This commit is contained in:
parent
08c9a0ad5e
commit
ed6e0262e0
1 changed files with 3 additions and 0 deletions
|
@ -402,6 +402,9 @@ in
|
|||
brctl addif "${n}" "${i}"
|
||||
ip link set "${i}" up
|
||||
ip addr flush dev "${i}"
|
||||
|
||||
echo "bringing up network device ${n}..."
|
||||
ip link set "${n}" up
|
||||
'')}
|
||||
|
||||
# !!! Should delete (brctl delif) any interfaces that
|
||||
|
|
Loading…
Reference in a new issue