microvm-defaults: early load nf_conntrack kernel module for sysfs

This commit is contained in:
Sandro - 2023-06-24 01:25:23 +02:00
parent 5851716114
commit ea4b716c0a
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,10 @@
# nf_conntrack: nf_conntrack: table full, dropping packet
"net.netfilter.nf_conntrack_max" = "65536";
};
kernelModules = [
# required for net.netfilter.nf_conntrack_max appearing in sysfs early at boot
"nf_conntrack"
];
kernelParams = [
"preempt=none"
# No server/router runs any untrusted user code