diff --git a/macos/root/setup-containerd.sh b/macos/root/setup-containerd.sh index 7ae3c55..850c0b5 100755 --- a/macos/root/setup-containerd.sh +++ b/macos/root/setup-containerd.sh @@ -1,7 +1,7 @@ #!/bin/sh if [ ! -f /usr/local/bin/nerdctl ]; then - VERSION=0.12.1 + VERSION=0.14.0 ARCH=arm64 if [ "$(uname -m)" = "x86_64" ]; then ARCH=amd64 @@ -17,33 +17,5 @@ mkdir /mnt/vdb/containerd ln -s /mnt/vdb/containerd /var/lib/containerd apk add containerd cni-plugins iptables ip6tables - -mkdir -p /etc/cni/net.d/ -cat >/etc/cni/net.d/10-mynet.conf </etc/cni/net.d/99-loopback.conf <&1 | logger -t containerd" >> /etc/inittab reboot