Re: [Libguestfs] [PATCH 1/2] firstboot: use absolute path to rhsrvany

Richard W.M. Jones
Tue, 11 Feb 2020 14:29:11 -0000

On Thu, Nov 21, 2019 at 12:04:17PM +0100, Tomáš Golembiovský
wrote:
> Signed-off-by: Tomáš Golembiovský <tgolembi@redhat.com>
> ---
>  mlcustomize/firstboot.ml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/mlcustomize/firstboot.ml b/mlcustomize/firstboot.ml
> index a8f4ef7..c3ebfd9 100644
> --- a/mlcustomize/firstboot.ml
> +++ b/mlcustomize/firstboot.ml
> @@ -307,7 +307,7 @@ for %%%%f in (\"%%scripts%%\"\\*.bat) do (
>  )
>
>  echo uninstalling firstboot service
> -%s -s firstboot uninstall
> +\"%%firstboot%%\\%s\" -s firstboot uninstall
>  " firstboot_dir_win srvany in
>
>      g#write (firstboot_dir // "firstboot.bat")

I have pushed this one.  It will need an update to libguestfs and/or
virt-v2v in order to pick up the change, which I'll roll into a later
change.

Thanks,

Rich.

--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.