Terminal recording · Modules · 3 min · Beginner
Add a module to a running guest
List the modules of a guest, add one by number and remove it again – the data stays.
Recording follows – the steps below work without it.
1. See what exists
In the guest, as root:
update -lm
The table numbers every module this guest can use; active ones carry a ✓.
2. Add one
update -am node-exporter # by name
update -am 1,3 # or by number from the table
update installs the module and establishes the target state again – the app keeps running.
3. Remove it again
update -rm node-exporter
The module is removed from the target state; its data stays in place. All modules: Modules.
Die Aufzeichnung folgt – die Schritte darunter funktionieren auch ohne sie.
1. Verfügbare Module anzeigen
Im Gast als root:
update -lm
Die Tabelle nummeriert alle für diesen Gast geeigneten Module. Aktive Module sind mit ✓ markiert.
2. Ein Modul hinzufügen
update -am node-exporter
update -am 1,3
Der erste Befehl verwendet den Namen, der zweite Nummern aus der Tabelle. update installiert die gewählten Module und stellt den Zielzustand erneut her. Die App bleibt verfügbar, soweit ihre Konfiguration keinen notwendigen Dienstneustart erfordert.
3. Wieder entfernen
update -rm node-exporter
Das Modul wird aus dem Zielzustand entfernt; seine Daten bleiben erhalten. Alle Bausteine findest du im Modulkatalog.