From 0fd4af6401e07e6949dc807a520a6700e39877c7 Mon Sep 17 00:00:00 2001 From: Kevin Cui Date: Mon, 15 Jul 2024 17:50:09 +0800 Subject: [PATCH] fix(win): cannot start ovm Signed-off-by: Kevin Cui --- src/windows.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/windows.ts b/src/windows.ts index 4d08f8f..8b18237 100644 --- a/src/windows.ts +++ b/src/windows.ts @@ -63,6 +63,7 @@ export class WindowsOVM extends RequestWindows { }); const ovm = cp.spawn(this.options.ovmPath, [ + "prepare", "-name", this.options.name, "-log-path", this.options.logDir, "-event-npipe-name", this.restfulNPipePrepareName, @@ -102,6 +103,7 @@ export class WindowsOVM extends RequestWindows { }); const ovm = cp.spawn(this.options.ovmPath, [ + "run", "-name", this.options.name, "-log-path", this.options.logDir, "-image-dir", this.options.imageDir,