浏览代码

Adding network hooks for configure hook to fix security denials

Signed-off-by: Ondrej Kubik <ondrej.kubik@canonical.com>
Ondrej Kubik 7 年之前
父节点
当前提交
9084158aec
共有 1 个文件被更改,包括 6 次插入0 次删除
  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