utils: kata-manager: Update kata-manager.sh for new containerd config
update script for new containerd config
Fixes:
@@ -419,10 +419,11 @@ configure_containerd()
sudo grep -q "$kata_runtime_type" "$cfg" || {
cat <<-EOT | sudo tee -a "$cfg"
[plugins]
- [plugins.cri]
- [plugins.cri.containerd]
+ [plugins."io.containerd.grpc.v1.cri"]
+ [plugins."io.containerd.grpc.v1.cri".containerd]
default_runtime_name = "${kata_runtime_name}"
- [plugins.cri.containerd.runtimes.${kata_runtime_name}]
+ [plugins."io.containerd.grpc.v1.cri".containerd.runtimes]
+ [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.${kata_runtime_name}]
runtime_type = "${kata_runtime_type}"
EOT
