summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOndrej Kubik <ondrej.kubik@canonical.com>2018-03-01 11:53:21 +0000
committerOndrej Kubik <ondrej.kubik@canonical.com>2018-03-01 11:53:21 +0000
commit9084158aece8a642dc49bf7ecc2196bf9d1af63e (patch)
treebf1f8d26f2f4a0060b69c88062b8659921f78a6f
parentd454fa7dd7164166425c690761fff278abf8c81a (diff)
downloadwekan-9084158aece8a642dc49bf7ecc2196bf9d1af63e.tar.gz
wekan-9084158aece8a642dc49bf7ecc2196bf9d1af63e.tar.bz2
wekan-9084158aece8a642dc49bf7ecc2196bf9d1af63e.zip
Adding network hooks for configure hook to fix security denials
Signed-off-by: Ondrej Kubik <ondrej.kubik@canonical.com>
-rw-r--r--snapcraft.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/snapcraft.yaml b/snapcraft.yaml
index d1ef6856..e28987db 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -21,6 +21,12 @@ plugs:
interface: content
target: $SNAP_DATA/shared
+hooks:
+ configure:
+ plugs:
+ - network
+ - network-bind
+
slots:
mongodb-slot:
interface: content