mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-30 18:03:58 +01:00
fix(tmpfiles rule): do not remove the contents of the directory
This commit is contained in:
1 parent
595f76e120
commit
1cd6c0b124
3 files changed
+3
-3
No files matched your search
@@ -75,7 +75,7 @@ in {
|
||||
systemd.tmpfiles.rules = [
|
||||
"L+ /opt/cni/bin - - - - /var/lib/rancher/k3s/data/current/bin"
|
||||
# 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 - -"
|
||||
"d /var/lib/rancher/k3s/agent/etc/cni/net.d 0751 root root - -"
|
||||
# Link the CNI config directory
|
||||
"L+ /etc/cni/net.d - - - - /var/lib/rancher/k3s/agent/etc/cni/net.d"
|
||||
];
|
||||
|
||||
Reference in new issue
Block a user