Install Agent Stage Stuck
Nucleic-Session: CC59896F-5A33-43D8-93E0-AD8C2B16E60E Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -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
|
/// 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.
|
/// `csrutil disable` — the lone computer-use step that can't be scripted over SSH.
|
||||||
private func bootRecovery() async {
|
private func bootRecovery() async {
|
||||||
|
|||||||
Reference in New Issue
Block a user