Update neutron to 9.0.0.0b1
[openstack-build/neutron-build.git] / xenial / debian / neutron-dhcp-agent.postinst.in
diff --git a/xenial/debian/neutron-dhcp-agent.postinst.in b/xenial/debian/neutron-dhcp-agent.postinst.in
new file mode 100644 (file)
index 0000000..0bf58fb
--- /dev/null
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+set -e
+
+#PKGOS-INCLUDE#
+
+if [ "$1" = "configure" ]; then
+       pkgos_var_user_group neutron
+       chmod 755 /var/lib/neutron
+
+       chown root:root /etc/neutron/rootwrap.d/dhcp.filters
+fi
+
+#DEBHELPER#
+
+exit 0