summaryrefslogtreecommitdiff
path: root/mkosi.conf.d
diff options
context:
space:
mode:
Diffstat (limited to 'mkosi.conf.d')
-rw-r--r--mkosi.conf.d/10-systemd.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/mkosi.conf.d/10-systemd.conf b/mkosi.conf.d/10-systemd.conf
index ec0f690d4e..bc74113c77 100644
--- a/mkosi.conf.d/10-systemd.conf
+++ b/mkosi.conf.d/10-systemd.conf
@@ -36,3 +36,6 @@ KernelCommandLineExtra=systemd.crash_shell
SYSTEMD_SULOGIN_FORCE=1
# Make sure /sysroot is mounted rw in the initrd.
rw
+ # Make sure we pull in network related units even if nothing else depends on the
+ # network to be online.
+ systemd.wants=network-online.target