diff --git a/lib/genK3sServerModule.nix b/lib/genK3sServerModule.nix index 99af7717..8df8cd4a 100644 --- a/lib/genK3sServerModule.nix +++ b/lib/genK3sServerModule.nix @@ -73,7 +73,8 @@ in { # such as multus, calico, etc. # https://www.freedesktop.org/software/systemd/man/latest/tmpfiles.d.html#Type systemd.tmpfiles.rules = [ - "L+ /opt/cni/bin - - - - /var/lib/rancher/k3s/data/current/bin" + # https://docs.k3s.io/networking/multus-ipams + "L+ /opt/cni/bin - - - - /var/lib/rancher/k3s/data/cni/" # If you have disabled flannel, you will have to create the directory via a tmpfiles rule "d /var/lib/rancher/k3s/agent/etc/cni/net.d 0751 root root - -" # Link the CNI config directory