network-interfaces.nix: interfaces that are part of a bridge must be brought 'up' for the bridge to function

This commit is contained in:
Peter Simons 2012-10-12 18:14:39 +02:00
parent e3c1865067
commit 7ce9893bef

View File

@ -382,6 +382,7 @@ in
${flip concatMapStrings v.interfaces (i: ''
brctl addif "${n}" "${i}"
ip link set "${i}" up
ip addr flush dev "${i}"
'')}