From 69b22cbf0d2e5eb7b004f6d41e59768cf77cfb30 Mon Sep 17 00:00:00 2001 From: Eliezer Croitoru Date: Sat, 27 Jan 2024 17:52:52 +0000 Subject: [PATCH] 3 --- Makefile | 15 +++++++++++++++ install-containerd.sh | 0 install-kube-from-repo.sh | 2 ++ install-kubectl.sh | 2 ++ 4 files changed, 19 insertions(+) create mode 100644 Makefile mode change 100644 => 100755 install-containerd.sh diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..170212d --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +all: + echo OK + +install-k8s-from-repo: + bash install-kube-from-repo.sh + +install-kubectl-from-bin: + bash install-kubectl.sh + +install-containerd: + bash install-containerd.sh + +sysprep: + bash cloud-init-sysprep.sh + diff --git a/install-containerd.sh b/install-containerd.sh old mode 100644 new mode 100755 diff --git a/install-kube-from-repo.sh b/install-kube-from-repo.sh index 9d85e20..72b8a8a 100755 --- a/install-kube-from-repo.sh +++ b/install-kube-from-repo.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +export DEBIAN_FRONTEND=noninteractive + apt install -y apt-transport-https ca-certificates curl gpg curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.29/deb/Release.key | gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg diff --git a/install-kubectl.sh b/install-kubectl.sh index 2f36d2a..386162d 100755 --- a/install-kubectl.sh +++ b/install-kubectl.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +export DEBIAN_FRONTEND=noninteractive + apt install -y apt-transport-https ca-certificates curl wget mkdir -p bin