summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2023-05-30 14:48:43 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2023-05-31 14:19:25 +0200
commitfdeed78a7187b8dbd3e5b4c45de8b76e68296160 (patch)
tree189eb9a062c0881cf493d8a83608c73f8b0846d2
parentmkosi: Enforce usage of vsock with qemu in CI (diff)
downloadsystemd-fdeed78a7187b8dbd3e5b4c45de8b76e68296160.tar.xz
systemd-fdeed78a7187b8dbd3e5b4c45de8b76e68296160.zip
mkosi: Blacklist vmw_vmci to avoid issues with vsock in Github Actions
If this module is loaded, sending readiness notifications from the VM will fail with "no route to host" so let's blacklist the module to prevent that from happening.
-rw-r--r--mkosi.conf.d/10-systemd.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/mkosi.conf.d/10-systemd.conf b/mkosi.conf.d/10-systemd.conf
index bc74113c77..640214c8a3 100644
--- a/mkosi.conf.d/10-systemd.conf
+++ b/mkosi.conf.d/10-systemd.conf
@@ -39,3 +39,5 @@ KernelCommandLineExtra=systemd.crash_shell
# Make sure we pull in network related units even if nothing else depends on the
# network to be online.
systemd.wants=network-online.target
+ # Make sure we don't load vmw_vmci which messes with virtio vsock.
+ module_blacklist=vmw_vmci