Skip to content

Commit

Permalink
fix: persists network user data
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Berning <bernings@amazon.com>
  • Loading branch information
sam-berning committed Feb 8, 2023
1 parent 7aaa381 commit 9bbaf04
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions finch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9bbaf04

Please sign in to comment.