Merge pull request #448 from driesmp/nodescription

Don't set interface description on manual bridges
This commit is contained in:
Mateusz Kwiatkowski
2022-03-22 11:37:29 +01:00
committed by GitHub

View File

@@ -39,8 +39,9 @@ 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 interfaces are fully configured using rc.conf.
ifconfig "${_bridge}" group vm-switch up >/dev/null 2>&1
switch::set_viid "${_name}" "${_bridge}"
}