summaryrefslogtreecommitdiff
path: root/mkosi.conf.d
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2023-05-15 14:09:08 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2023-05-15 15:41:53 +0200
commit78c49d012c105370d3f8882c49d5943c042947f6 (patch)
tree58ed668d2fc5ff24d6d2e5126a3edf4771d38040 /mkosi.conf.d
parent1fb59099f6062bcee80bff05c10300f37817cc50 (diff)
downloadsystemd-78c49d012c105370d3f8882c49d5943c042947f6.tar.gz
mkosi: Always pull in network-online.target
Let's always pull this in so that we always activate systemd-networkd-wait-online for extra coverage.
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