Browse Source

Adding network hooks for configure hook to fix security denials

Signed-off-by: Ondrej Kubik <ondrej.kubik@canonical.com>
Ondrej Kubik 7 năm trước cách đây
mục cha
commit
9084158aec
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  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