Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1788823 Signed-off-by: Laszlo Ersek <lersek@redhat.com> --- convert/convert_windows.ml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/convert/convert_windows.ml b/convert/convert_windows.ml index 59ad3520c994..97021766c2b7 100644 --- a/convert/convert_windows.ml +++ b/convert/convert_windows.ml @@ -359,10 +359,9 @@ let convert (g : G.guestfs) _ inspect _ static_ips = and reg_restore key name value = let strkey = String.concat "\\" key in match value with - | Some value -> sprintf "\ -reg add \"%s\" /v %s /t REG_DWORD /d %Ld /f" strkey name value - | None -> sprintf "\ -reg delete \"%s\" /v %s /f" strkey name + | Some value -> sprintf "reg add \"%s\" /v %s /t REG_DWORD /d %Ld /f" + strkey name value + | None -> sprintf "reg delete \"%s\" /v %s /f" strkey name and configure_wait_pnp tool_path = (* Prevent destructive interactions of firstboot with PnP. *) -- 2.19.1.3.g30247aa5d201