From 9bbaf04b8480c42190f4ca2142e2340e1f1fbc11 Mon Sep 17 00:00:00 2001 From: Sam Berning Date: Wed, 8 Feb 2023 15:43:42 -0800 Subject: [PATCH] fix: persists network user data Signed-off-by: Sam Berning --- finch.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/finch.yaml b/finch.yaml index 1ded9ee58..f9305c3d3 100644 --- a/finch.yaml +++ b/finch.yaml @@ -151,9 +151,14 @@ provision: sudo chown $USER /mnt/lima-finch mkdir -p /mnt/lima-finch/containerd mkdir -p /mnt/lima-finch/nerdctl + mkdir -p /mnt/lima-finch/cni-config + mkdir -p /mnt/lima-finch/cni-local mkdir -p ~/.local/share/nerdctl + mkdir -p ~/.config/cni sudo mount --bind /mnt/lima-finch/containerd ~/.local/share/containerd sudo mount --bind /mnt/lima-finch/nerdctl ~/.local/share/nerdctl + sudo mount --bind /mnt/lima-finch/cni-config ~/.config/cni + sudo mount --bind /mnt/lima-finch/cni-local ~/.local/share/cni systemctl --user restart containerd.service # Probe scripts to check readiness.