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

  1. #!/bin/bash
  2. DOMAIN=$(relation-get domain) || exit 1
  3. echo "$DOMAIN"
  4. echo "${DOMAIN//./\\.}"
  5. set -e
  6. ## XXXnjeudy need <your-dot-escaped-domain> like share\\.example\\.com
  7. config-add "\
  8. services:
  9. $MASTER_BASE_SERVICE_NAME:
  10. cap_add:
  11. - MKNOD
  12. "