summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--units/kmod-static-nodes.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/kmod-static-nodes.service.in b/units/kmod-static-nodes.service.in
index cdfc6e56e1..98664ea18a 100644
--- a/units/kmod-static-nodes.service.in
+++ b/units/kmod-static-nodes.service.in
@@ -9,6 +9,7 @@
Description=Create list of required static device nodes for the current kernel
DefaultDependencies=no
Before=sysinit.target systemd-tmpfiles-setup-dev.service
+ConditionVirtualization=!container
[Service]
Type=oneshot