Skip to content

Commit

Permalink
kubeadm ubuntu: fix crio package
Browse files Browse the repository at this point in the history
  • Loading branch information
karmab committed Jul 2, 2024
1 parent ff3b4c4 commit 77cf2cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kvirt/cluster/kubeadm/pre_ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ curl -fsSL https://pkgs.k8s.io/addons:/cri-o:/$PROJECT_PATH/deb/Release.key | gp
echo "deb [signed-by=/etc/apt/keyrings/cri-o-apt-keyring.gpg] https://pkgs.k8s.io/addons:/cri-o:/$PROJECT_PATH/deb/ /" > /etc/apt/sources.list.d/cri-o.list

apt-get update
apt-get -y install cri-o cri-o-runc software-properties-common
apt-get -y install cri-o runc software-properties-common
sed -i 's@conmon = .*@conmon = "/bin/conmon"@' /etc/crio/crio.conf
echo """[crio.network]
plugin_dirs = [\"/opt/cni/bin\", \"/usr/libexec/cni\",]""" > /etc/crio/crio.conf.d/00-plugin-dir.conf
Expand Down

0 comments on commit 77cf2cb

Please sign in to comment.