#!/bin/bash DOMAIN=$(relation-get domain) || exit 1 echo "$DOMAIN" echo "${DOMAIN//./\\.}" set -e ## XXXnjeudy need like share\\.example\\.com config-add "\ services: $MASTER_BASE_SERVICE_NAME: cap_add: - MKNOD "