Skip to content

Commit

Permalink
install the correct version of cri-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
rahuldesai1 committed Apr 11, 2024
1 parent 9788a1c commit 765f81b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion sysbox-eks.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,12 @@ build {
"sudo apt-get update",

"echo Installing CRI-O",
"sudo apt-get install --yes --no-install-recommends cri-o cri-o-runc cri-tools",
"sudo apt-get install --yes --no-install-recommends cri-o cri-o-runc",

"export CRICTL_VERSION='v{var.k8s_version}.0'",
"wget https://github.com/kubernetes-sigs/cri-tools/releases/download/$CRICTL_VERSION/crictl-$CRICTL_VERSION-linux-amd64.tar.gz",
"sudo tar zxvf crictl-$CRICTL_VERSION-linux-amd64.tar.gz -C /usr/local/bin",
"rm -f crictl-$CRICTL_VERSION-linux-amd64.tar.gz",

"echo Enabling CRI-O at startup",
"sudo systemctl enable crio"
Expand Down

0 comments on commit 765f81b

Please sign in to comment.