mirror of
https://github.com/trycua/computer.git
synced 2026-01-08 14:30:25 -06:00
Add missing recovery mode param
This commit is contained in:
@@ -82,7 +82,8 @@ struct Run: AsyncParsableCommand {
|
||||
mount: mount,
|
||||
registry: registry,
|
||||
organization: organization,
|
||||
vncPort: vncPort
|
||||
vncPort: vncPort,
|
||||
recoveryMode: recoveryMode
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -288,7 +288,7 @@ final class LumeController {
|
||||
|
||||
let vm = try get(name: normalizedName)
|
||||
SharedVM.shared.setVM(name: normalizedName, vm: vm)
|
||||
try await vm.run(noDisplay: noDisplay, sharedDirectories: sharedDirectories, mount: mount, vncPort: vncPort)
|
||||
try await vm.run(noDisplay: noDisplay, sharedDirectories: sharedDirectories, mount: mount, vncPort: vncPort, recoveryMode: recoveryMode)
|
||||
Logger.info("VM started successfully", metadata: ["name": normalizedName])
|
||||
} catch {
|
||||
SharedVM.shared.removeVM(name: normalizedName)
|
||||
|
||||
Reference in New Issue
Block a user