diff options
author | Youfu Zhang <1315097+zhangyoufu@users.noreply.github.com> | 2018-08-10 11:52:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-10 11:52:16 +0800 |
commit | ae65ddc8de520a0ddf38171cd7b287018ed6c58a (patch) | |
tree | 4243ae09198961a828661699c452d3f52a0c0ed9 /nixos/modules/tasks | |
parent | 939c6be54e65a2ad2b954f400287e70b95d44e0c (diff) | |
download | nixlib-ae65ddc8de520a0ddf38171cd7b287018ed6c58a.tar nixlib-ae65ddc8de520a0ddf38171cd7b287018ed6c58a.tar.gz nixlib-ae65ddc8de520a0ddf38171cd7b287018ed6c58a.tar.bz2 nixlib-ae65ddc8de520a0ddf38171cd7b287018ed6c58a.tar.lz nixlib-ae65ddc8de520a0ddf38171cd7b287018ed6c58a.tar.xz nixlib-ae65ddc8de520a0ddf38171cd7b287018ed6c58a.tar.zst nixlib-ae65ddc8de520a0ddf38171cd7b287018ed6c58a.zip |
add comment for issue #28620
Diffstat (limited to 'nixos/modules/tasks')
-rw-r--r-- | nixos/modules/tasks/network-interfaces-scripted.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/tasks/network-interfaces-scripted.nix b/nixos/modules/tasks/network-interfaces-scripted.nix index be4251667584..d5bbd6dadab4 100644 --- a/nixos/modules/tasks/network-interfaces-scripted.nix +++ b/nixos/modules/tasks/network-interfaces-scripted.nix @@ -473,6 +473,9 @@ let # Remove Dead Interfaces ip link show "${n}" >/dev/null 2>&1 && ip link delete "${n}" ip link add link "${v.interface}" name "${n}" type vlan id "${toString v.id}" + # Try to bring up vlan interface + # Note: When master interface is down, we cannot bring vlan interfaces up (#28620) + # Vlan interfaces will be automatically bring up when master is up ip link set "${n}" up || true ''; postStop = '' |