01-system-einrichten/prepare-dietpi-sd.sh aktualisiert

This commit is contained in:
bernd committed 2026-11-11 17:09:03 +01:00
1 parent 1cc8b39fe7
commit 2039cd2476
1 file changed
+11 -3
+11 -3
View File
@@ -354,6 +354,15 @@ cat > /home/dietpi/.local/share/code-server/User/argv.json <<'JSONARGV'
JSONARGV JSONARGV
cat > /home/dietpi/.local/share/code-server/User/settings.json <<'JSONSETTINGS' 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.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python",
"python.terminal.activateEnvironment": true, "python.terminal.activateEnvironment": true,
"editor.tabSize": 4, "editor.tabSize": 4,
@@ -362,9 +371,7 @@ cat > /home/dietpi/.local/share/code-server/User/settings.json <<'JSONSETTINGS'
"workbench.editor.empty.hint": "hidden", "workbench.editor.empty.hint": "hidden",
"python.languageServer": "None", "python.languageServer": "None",
"python.analysis.autoImportCompletions": false, "python.analysis.autoImportCompletions": false,
"python.analysis.completeFunctionParens": false, "python.analysis.completeFunctionParens": false
"chat.disableAIFeatures": true,
"chat.commandCenter.enabled": false
} }
JSONSETTINGS JSONSETTINGS
chown -R dietpi:dietpi /home/dietpi/.local/share/code-server 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.name "${GIT_HOSTNAME}"
sudo -u dietpi git config --global user.email "${GIT_HOSTNAME}@raspi-labor.local" 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 # I2C- und weitere Boot-Konfigurationen werden erst nach einem Neustart
# vollständig wirksam. Den ersten Start daher automatisch abschließen. # vollständig wirksam. Den ersten Start daher automatisch abschließen.