Install Agent Stage Stuck

Nucleic-Session: CC59896F-5A33-43D8-93E0-AD8C2B16E60E
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-08 00:47:24 -07:00
co-authored by nucleic
parent 247280e5a5
commit b0d25abe66
+15
View File
@@ -803,6 +803,21 @@ private struct MacVMSettingsTab: View {
}
}
/// Delete the installed base (and cached restore image) so the next build reinstalls macOS from
/// scratch. Refreshes status immediately so the panel flips back to "Build base image".
private func deleteBaseImage() async {
deleting = true
buildError = nil
defer { deleting = false }
do {
try await store.deleteMacVMBaseImage(includingRestoreImages: true)
baseStatus = await store.macVMBaseStatus()
baseOSVersion = await store.macVMBaseOSVersion()
} catch {
buildError = "\(error)"
}
}
/// Boot the golden base into recoveryOS in an interactive window so the operator can
/// `csrutil disable` the lone computer-use step that can't be scripted over SSH.
private func bootRecovery() async {