fix comment
This commit is contained in:
parent
ae65ddc8de
commit
762cea6a5a
@ -473,9 +473,11 @@ let
|
|||||||
# Remove Dead Interfaces
|
# Remove Dead Interfaces
|
||||||
ip link show "${n}" >/dev/null 2>&1 && ip link delete "${n}"
|
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}"
|
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)
|
# We try to bring up the logical VLAN interface. If the master
|
||||||
# Vlan interfaces will be automatically bring up when master is up
|
# interface the logical interface is dependent upon is not up yet we will
|
||||||
|
# fail to immediately bring up the logical interface. The resulting logical
|
||||||
|
# interface will brought up later when the master interface is up.
|
||||||
ip link set "${n}" up || true
|
ip link set "${n}" up || true
|
||||||
'';
|
'';
|
||||||
postStop = ''
|
postStop = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user