fix(ci): mount /lib/modules into NFS container for automatic kernel module loading

The NFS server image already has modprobe logic built in but needs
access to host kernel modules. Avoids requiring manual modprobe on
the runner host.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Clint Branham
2026-03-24 15:24:06 -05:00
parent c385f4a620
commit 2bf7f45ebf
@@ -53,6 +53,7 @@ services:
privileged: true
volumes:
- nfs-data:/srv/nfs/shared
- /lib/modules:/lib/modules:ro
environment:
NFS_EXPORT_0: /srv/nfs/shared *(rw,sync,no_subtree_check,no_root_squash)
restart: unless-stopped