Update vm-switch-manual

This commit is contained in:
Dries Michiels
2022-02-19 12:01:29 +01:00
committed by GitHub
parent c1620f8a25
commit 175594c834

View File

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