From 2afbfe08dc213f3f7155e7c16013d855ea12f216 Mon Sep 17 00:00:00 2001 From: Jon Archer Date: Wed, 15 May 2024 11:41:16 +0100 Subject: [PATCH] Updating setup container and kubetools to work with Debian --- setup-container.sh | 2 +- setup-kubetools.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/setup-container.sh b/setup-container.sh index 1b98c49..9cbe394 100755 --- a/setup-container.sh +++ b/setup-container.sh @@ -13,7 +13,7 @@ OSVERSION=$(hostnamectl | awk '/Operating/ { print $4 }') sudo apt install -y jq -if [ $MYOS = "Ubuntu" ] +if [ $MYOS = "Ubuntu" ] || [ $MYOS = "Debian" ] then ### setting up container runtime prereq cat <<- EOF | sudo tee /etc/modules-load.d/containerd.conf diff --git a/setup-kubetools.sh b/setup-kubetools.sh index e6a9b19..8d7209c 100755 --- a/setup-kubetools.sh +++ b/setup-kubetools.sh @@ -26,14 +26,14 @@ KUBEVERSION=$(curl -s https://api.github.com/repos/kubernetes/kubernetes/release KUBEVERSION=${KUBEVERSION%.*} -if [ $MYOS = "Ubuntu" ] +if [ $MYOS = "Ubuntu" ] || [ $MYOS = "Debian" ] then - echo RUNNING UBUNTU CONFIG + echo RUNNING UBUNTU/Debian CONFIG cat <