On 3/16/23 18:34, Andrey Drobyshev wrote:
 Right now wait-pnp is the only firstboot script which does its
logging
 into a separate log file.  Let's align its behaviour with that of the the
 other scripts so that logs go to the common log file, i.e.
 "C:\Program Files\Guestfs\Firstboot\log.txt".
 
 Signed-off-by: Andrey Drobyshev <andrey.drobyshev(a)virtuozzo.com>
 ---
  convert/convert_windows.ml | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/convert/convert_windows.ml b/convert/convert_windows.ml
 index a269a50e..122d9546 100644
 --- a/convert/convert_windows.ml
 +++ b/convert/convert_windows.ml
 @@ -400,7 +400,7 @@ let convert (g : G.guestfs) _ inspect i_firmware block_driver _
static_ips =
                        "@echo off\n\
                         \n\
                         echo Wait for PnP to complete\n\
 -                       \"%s\" >\"%%~dpn0.log\" 2>&1\n\
 +                       \"%s\"\n\
                         %s"
                        (String.replace_char pnp_wait_path '/' '\\')
                        reg_restore_str in 
Acked-by: Laszlo Ersek <lersek(a)redhat.com>