From cf85d05b5137944f345b866d6500cd294de4b604 Mon Sep 17 00:00:00 2001 From: IT Administration Date: Tue, 21 Apr 2026 14:08:53 +0200 Subject: [PATCH] Sync bootstrap-client.sh aus ansible-infrastruktur (verwaltung-ossa-1@verwaltungossa1-Mini-IT-8 2026-04-21) --- bootstrap-client.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bootstrap-client.sh b/bootstrap-client.sh index ce52c34..31ca9a2 100755 --- a/bootstrap-client.sh +++ b/bootstrap-client.sh @@ -43,17 +43,20 @@ else echo "Public-Key bereits vorhanden." fi -# 4. Pakete: openssh-server (Zorin-Desktop bringt ihn nicht mit) + python3 +# 4. Pakete: minimalsatz fuer Ansible-Verwaltung +# openssh-server (fehlt auf Zorin-Desktop), python3, rsync (skeleton-sync), curl export DEBIAN_FRONTEND=noninteractive NEEDED_PKGS=() command -v python3 >/dev/null 2>&1 || NEEDED_PKGS+=("python3") +command -v rsync >/dev/null 2>&1 || NEEDED_PKGS+=("rsync") +command -v curl >/dev/null 2>&1 || NEEDED_PKGS+=("curl") dpkg -s openssh-server >/dev/null 2>&1 || NEEDED_PKGS+=("openssh-server") if (( ${#NEEDED_PKGS[@]} )); then apt-get update -qq apt-get install -y "${NEEDED_PKGS[@]}" echo "Installiert: ${NEEDED_PKGS[*]}" else - echo "openssh-server + python3 bereits vorhanden." + echo "openssh-server + python3 + rsync + curl bereits vorhanden." fi # 5. sshd sicher aktiv