From 34ffc86c04eb71da08f44becf35bd872259fe086 Mon Sep 17 00:00:00 2001 From: Aryan-sharma11 Date: Mon, 12 Aug 2024 12:30:36 +0530 Subject: [PATCH] try1 Signed-off-by: Aryan-sharma11 --- contribution/self-managed-k8s/crio/install_crio.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/contribution/self-managed-k8s/crio/install_crio.sh b/contribution/self-managed-k8s/crio/install_crio.sh index cc1ff382f1..d104dcf4b8 100755 --- a/contribution/self-managed-k8s/crio/install_crio.sh +++ b/contribution/self-managed-k8s/crio/install_crio.sh @@ -24,9 +24,7 @@ echo "deb [signed-by=/etc/apt/keyrings/cri-o-apt-keyring.gpg] https://pkgs.k8s.i # install sudo apt-get update sudo apt-get install -y cri-o - -CRIO_PACKAGE=$(ls /var/cache/apt/archives | grep "cri-o" | grep "$VERSION") -sudo dpkg -i --force-overwrite /var/cache/apt/archives/$CRIO_PACKAGE +sudo dpkg -i --force-overwrite /var/cache/apt/archives/cri-o_*.deb # this option is not supported in ubuntu 18.04 if [ "$VERSION_ID" == "18.04" ]; then