Ver Fonte

Adding network hooks for configure hook to fix security denials

Signed-off-by: Ondrej Kubik <ondrej.kubik@canonical.com>
Ondrej Kubik há 7 anos atrás
pai
commit
9084158aec
1 ficheiros alterados com 6 adições e 0 exclusões
  1. 6 0
      snapcraft.yaml

+ 6 - 0
snapcraft.yaml

@@ -21,6 +21,12 @@ plugs:
     interface: content
     target: $SNAP_DATA/shared
 
+hooks:
+  configure:
+    plugs:
+      - network
+      - network-bind
+
 slots:
   mongodb-slot:
     interface: content