summaryrefslogtreecommitdiffstats
path: root/modules.d/01systemd-hostnamed/99-systemd-networkd-dracut.conf
diff options
context:
space:
mode:
Diffstat (limited to 'modules.d/01systemd-hostnamed/99-systemd-networkd-dracut.conf')
-rw-r--r--modules.d/01systemd-hostnamed/99-systemd-networkd-dracut.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules.d/01systemd-hostnamed/99-systemd-networkd-dracut.conf b/modules.d/01systemd-hostnamed/99-systemd-networkd-dracut.conf
new file mode 100644
index 0000000..2e53e2d
--- /dev/null
+++ b/modules.d/01systemd-hostnamed/99-systemd-networkd-dracut.conf
@@ -0,0 +1,6 @@
+# This file is part of dracut systemd-hostnamed module.
+
+[Service]
+User=systemd-network
+Group=systemd-hostname
+AmbientCapabilities=CAP_SYS_ADMIN