From 9a6e966ce39d8417c976e94969a9037a03f66e52 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 27 Jun 2026 20:08:25 +0200 Subject: [PATCH] Doku-Pfad vereinheitlicht: Clone liegt unter /root/docu statt docu-repo. Co-authored-by: Cursor --- README.md | 4 ++-- pve1/00_README.md | 2 +- pve1/infrastructure-host.md | 2 +- pve2/00_README.md | 2 +- pve2/infrastructure-host.md | 3 +-- shared/git-und-repos.md | 10 +++++----- 6 files changed, 11 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 0fd3b40..fe69870 100644 --- a/README.md +++ b/README.md @@ -41,13 +41,13 @@ docu/ ## Auf einem Host bearbeiten & pushen ```bash -cd /root/docu-repo +cd /root/docu git pull # Dateien unter pve1/ oder pve2/ editieren git add -A && git commit -m "Beschreibung" && git push ``` -Clone-Pfad auf beiden Nodes: **`/root/docu-repo`** +Clone-Pfad auf beiden Nodes: **`/root/docu`** ## Schnellreferenz Power-Monitoring diff --git a/pve1/00_README.md b/pve1/00_README.md index de03510..dd3d0e0 100644 --- a/pve1/00_README.md +++ b/pve1/00_README.md @@ -32,7 +32,7 @@ ```bash systemctl status pve-power-mqtt qm list && pct list -cd /root/docu-repo && git pull +cd /root/docu && git pull ``` Stand: Juni 2026 diff --git a/pve1/infrastructure-host.md b/pve1/infrastructure-host.md index d1f9739..3c37195 100644 --- a/pve1/infrastructure-host.md +++ b/pve1/infrastructure-host.md @@ -46,7 +46,7 @@ Siehe [power-mqtt-agent.md](power-mqtt-agent.md) | Pfad | Inhalt | |------|--------| -| `/root/docu-repo` | Dieses docu-Repo (Clone) | +| `/root/docu` | Dieses docu-Repo (Clone) | | `/root/code/pve-power-mqtt` | Go-Agent | | `/root/.git-credentials-jeanavril` | Gitea HTTPS-Token | diff --git a/pve2/00_README.md b/pve2/00_README.md index a3c5eca..22fe488 100644 --- a/pve2/00_README.md +++ b/pve2/00_README.md @@ -38,7 +38,7 @@ nvidia-smi systemctl status nvidia-persistenced pve-power-mqtt grep nvidia /etc/pve/lxc/*.conf -cd /root/docu-repo && git pull +cd /root/docu && git pull ``` Stand: Juni 2026 diff --git a/pve2/infrastructure-host.md b/pve2/infrastructure-host.md index 7b92903..fb8cd51 100644 --- a/pve2/infrastructure-host.md +++ b/pve2/infrastructure-host.md @@ -75,9 +75,8 @@ Vollständige GPU-Doku: [09_GPU-Idle-vollstaendig.md](09_GPU-Idle-vollstaendig.m | Pfad | Inhalt | |------|--------| -| `/root/docu-repo` | docu-Repo | +| `/root/docu` | docu-Repo (Git) | | `/root/code/pve-power-mqtt` | Go-Agent + GPU-Doku | -| `/root/docu/` | Legacy lokale Kopie (optional durch docu-repo ersetzen) | | `/root/.git-credentials-jeanavril` | Gitea Token | ## Ansible diff --git a/shared/git-und-repos.md b/shared/git-und-repos.md index eabd8f8..b9c2b00 100644 --- a/shared/git-und-repos.md +++ b/shared/git-und-repos.md @@ -6,7 +6,7 @@ Gitea: **https://git.jeanavril.com** · User: **jean** | Repo | URL | Clone-Pfad auf Hosts | |------|-----|----------------------| -| docu | https://git.jeanavril.com/jean/docu.git | `/root/docu-repo` | +| docu | https://git.jeanavril.com/jean/docu.git | `/root/docu` | | server-power | https://git.jeanavril.com/jean/server-power.git | `/root/code/pve-power-mqtt` | ## Authentifizierung (HTTPS) @@ -36,7 +36,7 @@ credential.helper=store --file /root/.git-credentials-jeanavril Setzen: ```bash -cd /root/docu-repo # oder /root/code/pve-power-mqtt +cd /root/docu # oder /root/code/pve-power-mqtt git config --local credential.helper 'store --file /root/.git-credentials-jeanavril' ``` @@ -44,8 +44,8 @@ git config --local credential.helper 'store --file /root/.git-credentials-jeanav ```bash # Doku -git clone https://git.jeanavril.com/jean/docu.git /root/docu-repo -cd /root/docu-repo +git clone https://git.jeanavril.com/jean/docu.git /root/docu +cd /root/docu git config --local credential.helper 'store --file /root/.git-credentials-jeanavril' # Token-Datei anlegen (Inhalt von anderem Host kopieren) @@ -66,7 +66,7 @@ export PATH="/usr/local/go/bin:$PATH" ## Workflow ```bash -cd /root/docu-repo && git pull +cd /root/docu && git pull # editieren git add -A git commit -m "Kurze Beschreibung"