controller v0.49.0: slice 10 P2 activation — pending-drive detection + restart button
pendingActivationDrives() flags registered drives the agent shows attached but not live-mounted in the container; settings banner + "Újraindítás most" button → /api/storage/activate → agentapi.GuestReboot. Batches all pending into one restart. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -803,6 +803,9 @@ func (s *Server) settingsData() map[string]interface{} {
|
||||
storageViews = append(storageViews, view)
|
||||
}
|
||||
data["StoragePaths"] = storageViews
|
||||
// Drives enrolled but not yet activated in the guest (slice 10 P2): they need the user-triggered
|
||||
// "Újraindítás most" to take effect (the host-side live inject is blocked on an unprivileged guest).
|
||||
data["PendingDrives"] = s.pendingActivationDrives()
|
||||
|
||||
// Recovery info for emergency section
|
||||
data["RetrievalPassword"] = s.settings.GetRetrievalPassword()
|
||||
|
||||
Reference in New Issue
Block a user