feat(config-preview): chrony + wireguard in Config-Preview verfügbar

- chrony.RenderToString(): rendert /etc/chrony/conf.d/edgeguard.conf
  ohne Datei-Write oder Service-Reload
- wireguard.RenderToString(): kombiniert alle aktiven Interface-Configs;
  PrivateKey + PresharedKey werden als <redacted> ausgegeben (sicher für
  UI-Anzeige)
- main.go: beide in WithConfigPreviewers eingetragen
- Settings UI: chrony + wireguard im Generator-Dropdown

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Debian
2026-05-25 06:28:48 +02:00
parent 73619c17f8
commit cfb0e9ed01
7 changed files with 108 additions and 8 deletions

View File

@@ -706,6 +706,8 @@ export default function SettingsPage() {
{ value: 'nftables', label: 'nftables' },
{ value: 'squid', label: 'squid' },
{ value: 'unbound', label: 'unbound' },
{ value: 'chrony', label: 'chrony' },
{ value: 'wireguard', label: 'wireguard' },
]}
/>
<Button