Hi,
On 11.09.23 15:13, Richard W.M. Jones wrote:
On Sun, Sep 10, 2023 at 11:34:22AM +0100, Richard W.M. Jones wrote:
> This message got caught in moderation because the attachment
> was large. I put the attachment here:
>
>
http://oirase.annexia.org/tmp/2023-lgarrett-virt-v2v-debug-output.txt
>
> ----- Forwarded message from Lee Garrett <lgarrett(a)rocketjump.eu> -----
>
> Date: Sun, 10 Sep 2023 00:09:17 +0200
> From: Lee Garrett <lgarrett(a)rocketjump.eu>
> To: libguestfs(a)redhat.com
> Subject: virt-v2v creating image that does not install guest agent on first
> boot
>
> Hi,
>
> rwmjones from #guestfs on libera IRC pointed me to this mail address.
>
> I've noticed that converting the latest Windows 11 trial image via
> virt-v2v does not install the guest agent any more on first boot. I
> have let the machine settle for ~10 minutes to ensure it's not just
> because I'm too impatient. I can see C:\qemu-ga-x86-64.msi, and also a
> bunch of files in "C:\Program Files\Guestfs\Firstboot\" and
> .\Scripts, so the files are definitely copied onto the VM image, just
> not executed for some reason.
I can see from the log that these are installed in the image.
> The vmware image was downloaded from
https://developer.microsoft.com/en-us/windows/downloads/virtual-machines/.
> The issue should be 100% reproducible (at least for me). I recall that
> an older image from two, three weeks ago downloaded from the same
> location did not have this issue. There guest agent was installed and
> working on the first boot. Unfortunately I overwrote the image so I
> cannot verify this.
>
> I have attached the debug output of the virt-v2v run of the latest
> image where this issue is apparent (guest agent not being installed).
>
> Please let me know if there's anything else I can check, or if you
> need any further info.
The main thing to look for is any debugging output which should appear
in c:\program files\guestfs\firstboot\log.txt
It would be interesting to know if this file is present at all, and
what exactly it contains.
There is unfortunately no log.txt in that or related paths.
I've CC'd my colleague Ming on this to see if she has noticed anything
with recent Windows 11.
Rich.
> Cheers,
> Lee
>
> ----- End forwarded message -----
>
> --
> Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
> Read my programming and virtualization blog:
http://rwmj.wordpress.com
> libguestfs lets you edit virtual machines. Supports shell scripting,
> bindings from many languages.
http://libguestfs.org
> _______________________________________________
> Libguestfs mailing list
> Libguestfs(a)redhat.com
>
https://listman.redhat.com/mailman/listinfo/libguestfs