Re: [Libguestfs] [PATCH 2/2] firstboot: schedule firstboot as delayed task

2020-02-20 Thread Richard W.M. Jones
BTW, I don't see any problem with depending on Powershell for this, if it makes things easier. Rich. -- 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.

Re: [Libguestfs] [PATCH 2/2] firstboot: schedule firstboot as delayed task

2020-02-20 Thread Richard W.M. Jones
On Thu, Feb 13, 2020 at 02:07:07PM +0100, Tomáš Golembiovský wrote: > > > I have really no clue about this. > > > > > > What is "~dpnx0"? > > > > I wanted to documented that in a comment at first. But then I decided > > against that as it seemed that as it seemed such patterns are used in > > m

Re: [Libguestfs] [PATCH 2/2] firstboot: schedule firstboot as delayed task

2020-02-13 Thread Tomáš Golembiovský
> > I have really no clue about this. > > > > What is "~dpnx0"? > > I wanted to documented that in a comment at first. But then I decided > against that as it seemed that as it seemed such patterns are used in > multiple places in the code (ergo everyone knows). > > Looking now I see two occur

Re: [Libguestfs] [PATCH 2/2] firstboot: schedule firstboot as delayed task

2020-02-13 Thread Tomáš Golembiovský
On Tue, 11 Feb 2020 14:36:24 + "Richard W.M. Jones" wrote: > On Thu, Nov 21, 2019 at 12:04:18PM +0100, Tomáš Golembiovský wrote: > > Instead of running firstboot scripts during early boot schedule a task > > delayed for 1-2 minute. > > > > During the first boot, after virt-v2v conversion, Wi

Re: [Libguestfs] [PATCH 2/2] firstboot: schedule firstboot as delayed task

2020-02-11 Thread Nikolay Ivanets
> What is "~dpnx0"? That is a series of substitutions of batch parameter. Here is Microsoft doc: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/call And here is more clear step-by-step explanation: https://stackoverflow.com/a/3679781/716075 -- Mykola Ivanets

Re: [Libguestfs] [PATCH 2/2] firstboot: schedule firstboot as delayed task

2020-02-11 Thread Richard W.M. Jones
On Thu, Nov 21, 2019 at 12:04:18PM +0100, Tomáš Golembiovský wrote: > Instead of running firstboot scripts during early boot schedule a task > delayed for 1-2 minute. > > During the first boot, after virt-v2v conversion, Windows installs the > drivers injected by virit-v2v. When this installation

[Libguestfs] [PATCH 2/2] firstboot: schedule firstboot as delayed task

2019-11-21 Thread Tomáš Golembiovský
Instead of running firstboot scripts during early boot schedule a task delayed for 1-2 minute. During the first boot, after virt-v2v conversion, Windows installs the drivers injected by virit-v2v. When this installation is finished Windows enforces some kind of internal reboot. This unfortunately