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