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

@@ -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:"