[Libguestfs] [V2V PATCH v3 0/1] convert_windows: add firstboot script to install drivers with pnputil

Andrey Drobyshev andrey.drobyshev at virtuozzo.com
Tue Mar 14 10:45:06 UTC 2023


I haven't run too deep into the nature of the original bugs with the
"v2vnetcf.ps1" script, but at least my experiment shows that it seems to
be working.  Namely I've set a static IP to VM during conversion (with
--mac aa:bb:cc:dd:ee:ff:ip:ipaddr,gw,len), and after the first boot I
see that pnputil is indeed prioritized to run earlier than v2vnetcf.ps1,
and that my VM has the required IP set.

Discussion on v2:

https://listman.redhat.com/archives/libguestfs/2023-March/031025.html

v2 -> v3:

 * Prioritize firstboot script with ~prio:2000.  That value is chosen to
   be higher than that of "v2vnetcf.ps1".

Discussion on v1:

https://listman.redhat.com/archives/libguestfs/2023-March/031001.html

v1 -> v2:

 * Omit redirecting output to a separate log with "%~dpn0.log".

Andrey Drobyshev (1):
  convert_windows: add firstboot script to install drivers with pnputil

 convert/convert_windows.ml | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

-- 
2.31.1



More information about the Libguestfs mailing list