Don't set interface description on manual bridges

Manual bridges are fully configured using rc.conf. This is also true for the description of the bridge.
This commit is contained in:
Dries Michiels
2022-02-18 20:01:41 +01:00
committed by GitHub
parent 361856d23d
commit c1620f8a25

View File

@@ -39,8 +39,8 @@ switch::manual::init(){
[ -z "${_bridge}" ] && return 1
fi
# don't rename custom bridges. user can set this in rc.conf or just stick with bridgeX
ifconfig "${_bridge}" descr "vm/${_name}" group vm-switch up >/dev/null 2>&1
# don't rename custom bridges nor set a description.
# manual bridges are fully configured using rc.conf.
switch::set_viid "${_name}" "${_bridge}"
}