mirror of
https://github.com/GoodOlClint/PSProxmoxVE.git
synced 2026-07-26 07:58:14 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user