qemu.Machine: Rename brdev0 -> brdut0

Rename bridge device for Qemu invocations from brdev0 to brdut0 to
avoid confusion.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2025-11-17 11:15:36 +01:00
commit fc9ac9cb22
2 changed files with 2 additions and 2 deletions

View file

@ -69,7 +69,7 @@ class Invocation(ABC):
#@abstractmethod #@abstractmethod
def _impl_bridge_name(self): def _impl_bridge_name(self):
return "brdev0" return "brdut0"
#@abstractmethod #@abstractmethod
def _impl_bridge_net(self): def _impl_bridge_net(self):

View file

@ -145,7 +145,7 @@ log running $0 $@
[ -x $0 ] || chmod u+x $0 || fatal "$0 is not executable" [ -x $0 ] || chmod u+x $0 || fatal "$0 is not executable"
exe=`readlink -f $0` exe=`readlink -f $0`
dirname=`dirname $exe` dirname=`dirname $exe`
bridge_name=brdev0 bridge_name=brdut0
#bridge_name=in1 #bridge_name=in1
base=dc=priv,dc=lcl base=dc=priv,dc=lcl
brctl_exe=`PATH=/usr/sbin:/sbin /usr/bin/which brctl` brctl_exe=`PATH=/usr/sbin:/sbin /usr/bin/which brctl`