add comment for issue #28620
commitae65ddc8de520a0ddf38171cd7b287018ed6c58a
authorYoufu Zhang <1315097+zhangyoufu@users.noreply.github.com>
dateFri 10 Aug 2018, 11:52 (8 years ago)
parent939c6be
nixos/modules/tasks/network-interfaces-scripted.nix+3
@@ -473,6 +473,9 @@ let
473473 # Remove Dead Interfaces
474474 ip link show "${n}" >/dev/null 2>&1 && ip link delete "${n}"
475475 ip link add link "${v.interface}" name "${n}" type vlan id "${toString v.id}"
476+ # Try to bring up vlan interface
477+ # Note: When master interface is down, we cannot bring vlan interfaces up (#28620)
478+ # Vlan interfaces will be automatically bring up when master is up
476479 ip link set "${n}" up || true
477480 '';
478481 postStop = ''