feat: Report whether a managed host is waiting on a reboot

This commit is contained in:
mrhid6 committed 2026-08-13 10:39:27 +00:00
1 parent 05c0ad43d2
commit b51e87477e
6 files changed
+42 -40

No files matched your search

+1
View File
@@ -28,6 +28,7 @@ func StoreInventory(serverID string, r *pb.InventoryReport) error {
set["inventory.static_at"] = now
set["inventory.swap_total_bytes"] = r.SwapTotal
set["inventory.kernel"] = r.Kernel
set["inventory.reboot_required"] = r.RebootRequired
if r.CPU != nil {
set["inventory.cpu.model"] = r.CPU.Model
set["inventory.cpu.cores"] = r.CPU.Cores