Be more resistent for colons in the device ID

This commit is contained in:
Jack Kingsman
2026-03-31 20:23:07 -07:00
parent 8e1e913fcd
commit 8446d99df1
2 changed files with 4 additions and 2 deletions

View File

@@ -16,7 +16,8 @@ services:
# Map your radio by stable device ID if available. #
################################################
devices:
- /dev/serial/by-id/your-meshcore-radio:/dev/meshcore-radio
- source: /dev/serial/by-id/your-meshcore-radio
target: /dev/meshcore-radio
environment:
MESHCORE_DATABASE_PATH: data/meshcore.db

View File

@@ -419,7 +419,8 @@ mkdir -p "$REPO_DIR/data"
fi
if [ "$TRANSPORT_MODE" = "serial" ]; then
echo " devices:"
echo " - ${SERIAL_HOST_PATH}:${SERIAL_CONTAINER_PATH}"
echo " - source: $(yaml_quote "$SERIAL_HOST_PATH")"
echo " target: $(yaml_quote "$SERIAL_CONTAINER_PATH")"
fi
if [[ "$ENABLE_SNAKEOIL_TLS" =~ ^[Yy]$ ]]; then
echo " command:"