diff --git a/pkg/cidata/cidata.TEMPLATE.d/boot/40-install-containerd.sh b/pkg/cidata/cidata.TEMPLATE.d/boot/40-install-containerd.sh index 9ad9f2e2160..aba50ffc793 100644 --- a/pkg/cidata/cidata.TEMPLATE.d/boot/40-install-containerd.sh +++ b/pkg/cidata/cidata.TEMPLATE.d/boot/40-install-containerd.sh @@ -33,14 +33,27 @@ fi rm -rf "${tmp_extract_nerdctl}" +: "${CONTAINERD_NAMESPACE:=default}" +# Overridable in .bashrc +: "${CONTAINERD_SNAPSHOTTER:=overlayfs}" + if [ "${LIMA_CIDATA_CONTAINERD_SYSTEM}" = 1 ]; then - mkdir -p /etc/containerd + mkdir -p /etc/containerd /etc/buildkit cat >"/etc/containerd/config.toml" <"/etc/buildkit/buildkitd.toml" <