fix: Convert dashes in custom MAC addresses (#626)

This commit is contained in:
Kroese
2024-02-08 17:03:30 +01:00
committed by GitHub
parent f412580a4a
commit f24ba41930
2 changed files with 6 additions and 2 deletions

View File

@@ -166,9 +166,12 @@ _graceful_shutdown() {
finish "$code" && return "$code"
}
PROCESS="${APP,,}"
PROCESS="${PROCESS// /-}"
MON_OPTS="\
-pidfile $QEMU_PID \
-name ${APP,,// /-},process=${APP,,// /-},debug-threads=on \
-name $PROCESS,process=$PROCESS,debug-threads=on \
-monitor telnet:localhost:$QEMU_PORT,server,nowait,nodelay"
if [[ "$CONSOLE" != [Yy]* ]]; then