docs: validate NetBox configuration syntax
This commit is contained in:
@@ -28,6 +28,8 @@ netbox-plugin-store @ git+https://git.mrblake.cc/MrBlake/Netbox-Store.git@main#s
|
||||
<pre><code>API_TOKEN_PEPPERS = {
|
||||
1: "HIER_DEN_GENERIERTEN_WERT_EINTRAGEN",
|
||||
}</code></pre>
|
||||
<p>Achte auf den Doppelpunkt nach der numerischen ID (<code>1:</code>, nicht <code>1;</code>). Prüfe die Python-Syntax, bevor du das Upgrade fortsetzt; bei Erfolg erzeugt dieser Befehl keine Ausgabe:</p>
|
||||
<pre><code>sudo /opt/netbox/venv/bin/python -m py_compile /opt/netbox/netbox/netbox/configuration.py</code></pre>
|
||||
<aside class="notice warning"><strong>Geheimnis dauerhaft sichern:</strong> Der Pepper muss vertraulich und über Upgrades hinweg unverändert erhalten bleiben. Entferne oder ändere einen bereits verwendeten Pepper nicht, da davon bestehende v2-API-Tokens abhängen. Für eine spätere Rotation wird eine weitere numerische ID ergänzt.</aside>
|
||||
<h2>3. Plugin in NetBox aktivieren</h2>
|
||||
<p>Ergänze die NetBox-Konfiguration:</p>
|
||||
|
||||
Reference in New Issue
Block a user