2
0
Эх сурвалжийг харах

Adding network hooks for configure hook to fix security denials

Signed-off-by: Ondrej Kubik <ondrej.kubik@canonical.com>
Ondrej Kubik 7 жил өмнө
parent
commit
9084158aec
1 өөрчлөгдсөн 6 нэмэгдсэн , 0 устгасан
  1. 6 0
      snapcraft.yaml

+ 6 - 0
snapcraft.yaml

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