From be5017847dd30b69bd4ca57a0746ff8c8d3bd5c3 Mon Sep 17 00:00:00 2001 From: Anthony Nandaa Date: Tue, 9 Apr 2024 15:50:09 +0300 Subject: [PATCH] fix: setup-container-* scripts `setup-kubetools.sh` expects to see the `/tmp/container.txt` file as proof that the container setup script was run. For the newer versions of this script, the line that adds this had been omitted. Signed-off-by: Anthony Nandaa --- setup-container-new.sh | 1 + setup-container-previous-version.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/setup-container-new.sh b/setup-container-new.sh index 30cfed2..cc1d152 100755 --- a/setup-container-new.sh +++ b/setup-container-new.sh @@ -64,6 +64,7 @@ sudo install -m 755 runc.${PLATFORM} /usr/local/sbin/runc sudo systemctl enable --now containerd fi +touch /tmp/container.txt exit #### notes from history just in case #!/bin/bash diff --git a/setup-container-previous-version.sh b/setup-container-previous-version.sh index 81894ef..3daea5d 100755 --- a/setup-container-previous-version.sh +++ b/setup-container-previous-version.sh @@ -63,3 +63,5 @@ version = 2 sudo systemctl restart containerd fi +touch /tmp/container.txt +exit