setup-base: git.motocamp.de in /etc/hosts aufgenommen

Synology-Dienste (dsm + git) sind intern nicht per DNS erreichbar.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
rene 2026-03-15 09:33:39 +01:00
parent e41a08ff0c
commit 63fcced450
2 changed files with 10 additions and 8 deletions

View file

@ -70,7 +70,7 @@ die Setup-Skripte nicht heruntergeladen werden.
- WLAN-Config beim netplan-zu-NM Umstieg erhalten - WLAN-Config beim netplan-zu-NM Umstieg erhalten
- systemd-networkd-wait-online deaktivieren - systemd-networkd-wait-online deaktivieren
- cloud-init deaktivieren nach Installation - cloud-init deaktivieren nach Installation
- /etc/hosts: dsm.motocamp.de → 10.47.11.10 (DiskStation intern nicht per DNS erreichbar) - /etc/hosts: dsm.motocamp.de + git.motocamp.de → 10.47.11.10 (Synology intern nicht per DNS erreichbar)
### WireGuard VPN ### WireGuard VPN
- Konfiguration via NetworkManager .nmconnection (nicht wg-quick) - Konfiguration via NetworkManager .nmconnection (nicht wg-quick)

View file

@ -298,13 +298,15 @@ systemctl disable systemd-networkd-wait-online.service 2>/dev/null || true
systemctl enable NetworkManager-wait-online.service 2>/dev/null || true systemctl enable NetworkManager-wait-online.service 2>/dev/null || true
ok "NetworkManager als Netzwerk-Renderer" ok "NetworkManager als Netzwerk-Renderer"
# /etc/hosts: Synology DiskStation im LAN (fuer Thunderbird/MailPlus etc.) # /etc/hosts: Synology-Dienste im LAN (intern nicht per DNS erreichbar)
if ! grep -q "dsm.motocamp.de" /etc/hosts; then for host in dsm.motocamp.de git.motocamp.de; do
echo "10.47.11.10 dsm.motocamp.de" >> /etc/hosts if ! grep -q "$host" /etc/hosts; then
ok "/etc/hosts: dsm.motocamp.de" echo "10.47.11.10 $host" >> /etc/hosts
else ok "/etc/hosts: $host"
ok "/etc/hosts: dsm.motocamp.de (bereits vorhanden)" else
fi ok "/etc/hosts: $host (bereits vorhanden)"
fi
done
# ── 10. Energieeinstellungen & Lokalisierung ───────────────────────────── # ── 10. Energieeinstellungen & Lokalisierung ─────────────────────────────
echo -e "\n=== 10/11 Energie & Lokalisierung ===" echo -e "\n=== 10/11 Energie & Lokalisierung ==="