From 2039cd2476f9e04448fcf408865b25c1e60d851c Mon Sep 17 00:00:00 2001 From: bernd Date: Wed, 11 Nov 2026 17:09:03 +0100 Subject: [PATCH] 01-system-einrichten/prepare-dietpi-sd.sh aktualisiert --- 01-system-einrichten/prepare-dietpi-sd.sh | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/01-system-einrichten/prepare-dietpi-sd.sh b/01-system-einrichten/prepare-dietpi-sd.sh index bc40f39..4c8e0fa 100755 --- a/01-system-einrichten/prepare-dietpi-sd.sh +++ b/01-system-einrichten/prepare-dietpi-sd.sh @@ -354,6 +354,15 @@ cat > /home/dietpi/.local/share/code-server/User/argv.json <<'JSONARGV' JSONARGV cat > /home/dietpi/.local/share/code-server/User/settings.json <<'JSONSETTINGS' { + "telemetry.telemetryLevel": "off", + "workbench.enableExperiments": false, + "github.copilot.enable": { + "*": false + }, + "chat.commandCenter.enabled": false, + "chat.disableAIFeatures": true, + "extensions.autoCheckUpdates": false, + "extensions.autoUpdate": false "python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python", "python.terminal.activateEnvironment": true, "editor.tabSize": 4, @@ -362,9 +371,7 @@ cat > /home/dietpi/.local/share/code-server/User/settings.json <<'JSONSETTINGS' "workbench.editor.empty.hint": "hidden", "python.languageServer": "None", "python.analysis.autoImportCompletions": false, - "python.analysis.completeFunctionParens": false, - "chat.disableAIFeatures": true, - "chat.commandCenter.enabled": false + "python.analysis.completeFunctionParens": false } JSONSETTINGS chown -R dietpi:dietpi /home/dietpi/.local/share/code-server @@ -699,6 +706,7 @@ echo "Konfiguriere Git-Benutzer für ${GIT_HOSTNAME} ..." sudo -u dietpi git config --global user.name "${GIT_HOSTNAME}" sudo -u dietpi git config --global user.email "${GIT_HOSTNAME}@raspi-labor.local" +sudo -u dietpi git config --global core.sshCommand "ssh -4 -p 2222" # I2C- und weitere Boot-Konfigurationen werden erst nach einem Neustart # vollständig wirksam. Den ersten Start daher automatisch abschließen.