Skip to content

Commit

Permalink
Revert "Support calico with containerd 1.6"
Browse files Browse the repository at this point in the history
This reverts commit 4616160.
  • Loading branch information
mheler committed Aug 28, 2023
1 parent 29906e0 commit c3bfba2
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,9 @@ if [ "${CONTAINER_RUNTIME}" = "containerd" ] ; then
exit 1
fi
$ssh_cmd tar xzvf /srv/magnum/cri-containerd.tar.gz -C / --no-same-owner --touch --no-same-permissions

# NOTE(dalees): We need to set CNI bin_dir to match where Calico and cri-containerd.tar.gz writes (/usr is mounted readonly).
sed -i 's#bin_dir = "/usr/libexec/cni/"#bin_dir = "/opt/cni/bin/"#' /etc/containerd/config.toml

$ssh_cmd systemctl daemon-reload
$ssh_cmd systemctl enable containerd
$ssh_cmd systemctl restart containerd
$ssh_cmd systemctl start containerd
else
# CONTAINER_RUNTIME=host-docker
$ssh_cmd systemctl disable docker
Expand Down

0 comments on commit c3bfba2

Please sign in to comment.