You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

15 lines
254 B

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