Skip to content

Commit 2c11d0a

Browse files
authored
Merge pull request #1072 from askervin/5RF_e2e_containerd_config
e2e: fix starting a custom containerd version
2 parents 0383c38 + 3279a99 commit 2c11d0a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

demo/lib/vm.bash

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -821,6 +821,7 @@ vm-install-cri() {
821821
for f in ctr containerd containerd-stress containerd-shim containerd-shim-runc-v1 containerd-shim-runc-v2; do
822822
vm-put-file "$containerd_src/bin/$f" "$vm_cri_dir/$f"
823823
done
824+
vm-command "mkdir -p /etc/containerd; containerd config default | sed -e 's/SystemdCgroup = false/SystemdCgroup = true/g' > /etc/containerd/config.toml"
824825
vm-command "systemctl enable --now containerd"
825826
fi
826827
elif [ "$VM_CRI" == "crio" ]; then

0 commit comments

Comments
 (0)