search for: unconfigure_prltool

Displaying 20 results from an estimated 26 matches for "unconfigure_prltool".

Did you mean: unconfigure_prltools
2016 Jan 20
1
[PATCH] convert_windows: uninstall Parallels Tools on first boot
...-> () + ); + + !uninsts + in + (*----------------------------------------------------------------------*) (* Perform the conversion of the Windows guest. *) let rec configure_firstboot () = configure_rhev_apt (); - unconfigure_xenpv () + unconfigure_xenpv (); + unconfigure_prltools () and configure_rhev_apt () = (* Configure RHEV-APT (the RHEV guest agent). However if it doesn't @@ -203,6 +257,23 @@ echo uninstalling Xen PV driver " uninst in Firstboot.add_firstboot_script g inspect.i_root "uninstall Xen PV" fb_script + + and u...
2018 Nov 16
4
[PATCH 0/2] v2v: uninstall the VMware Tools from Windows guests
It seems newer versions of VMware Tools for Windows can be uninstalled also when the guest does not run on VMware anymore. Hence, attempt to uninstall them during a conversion, reusing the same code already used to uninstall Parallel Tools. This was tested with the following Windows guests: - Windows 2008r2 - Windows 2012r2 - Windows 2016 - Windows 7 - Windows 8 - Windows 10 Pino Toscano (2):
2016 Jun 11
0
Re: [PATCH 2/2] v2v: linux: uninstall Parallels tools
...t; --- a/v2v/convert_linux.ml > +++ b/v2v/convert_linux.ml > @@ -694,6 +694,20 @@ let rec convert ~keep_serial_console (g : G.guestfs) inspect source rcaps = > ignore (g#command [| "/sbin/chkconfig"; "kudzu"; "off" |]) > ) > > + and unconfigure_prltools () = > + let prltools_path = "/usr/lib/parallels-tools/install" in > + if g#is_file ~followsymlinks:true prltools_path then ( > + try > + ignore (g#command [| prltools_path; "-r" |]); > + > + (* Reload Augeas to detect changes made by...
2018 Nov 16
0
[PATCH 2/2] v2v: windows: uninstall VMware Tools
...t; matchfn None in + (*----------------------------------------------------------------------*) (* Perform the conversion of the Windows guest. *) @@ -277,7 +284,8 @@ let convert (g : G.guestfs) inspect source output rcaps = configure_vmdp tool_path; unconfigure_xenpv (); - unconfigure_prltools () + unconfigure_prltools (); + unconfigure_vmwaretools () (* [set_reg_val_dword_1 path name] creates a registry key * called [name = dword:1] in the registry [path]. @@ -430,6 +438,23 @@ if errorlevel 3010 exit /b 0 "uninstall Parallels tools" fb_script )...
2018 Feb 27
5
[PATCH] v2v: remove MAC address related information
...+++++++++++ 1 file changed, 17 insertions(+) diff --git a/v2v/convert_linux.ml b/v2v/convert_linux.ml index b273785e6..8bba74786 100644 --- a/v2v/convert_linux.ml +++ b/v2v/convert_linux.ml @@ -88,6 +88,8 @@ let convert (g : G.guestfs) inspect source output rcaps = unconfigure_kudzu (); unconfigure_prltools (); + sysprep_networking(); + let kernel = configure_kernel () in if output#keep_serial_console then ( @@ -452,6 +454,21 @@ let convert (g : G.guestfs) inspect source output rcaps = msg ) + and sysprep_networking () = + if family = `RHEL_family then +...
2018 Feb 27
0
Re: [PATCH] v2v: remove MAC address related information
...ns(+) > > diff --git a/v2v/convert_linux.ml b/v2v/convert_linux.ml > index b273785e6..8bba74786 100644 > --- a/v2v/convert_linux.ml > +++ b/v2v/convert_linux.ml > @@ -88,6 +88,8 @@ let convert (g : G.guestfs) inspect source output rcaps = > unconfigure_kudzu (); > unconfigure_prltools (); > > + sysprep_networking(); The function name is a bit obscure. How about this? remove_network_ifcfg_hwaddr_entries (); Also needs a space between the function name and the parentheses. > let kernel = configure_kernel () in > > if output#keep_serial_conso...
2019 Sep 19
3
[PATCH 0/2] v2v: do not try to re-install qemu-guest-agent
In case qemu-guest-agent is already installed in the guest, do not try to install it again from the RHV Tools ISO. Pino Toscano (2): v2v: linux: install linux tools after unconfigurations v2v: linux: do not install qemu-guest-agent if already installed v2v/convert_linux.ml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) -- 2.21.0
2018 Feb 27
1
Re: [PATCH] v2v: remove MAC address related information
...v2v/convert_linux.ml b/v2v/convert_linux.ml > > index b273785e6..8bba74786 100644 > > --- a/v2v/convert_linux.ml > > +++ b/v2v/convert_linux.ml > > @@ -88,6 +88,8 @@ let convert (g : G.guestfs) inspect source output rcaps = > > unconfigure_kudzu (); > > unconfigure_prltools (); > > > > + sysprep_networking(); > > The function name is a bit obscure. How about this? > > remove_network_ifcfg_hwaddr_entries (); Maybe too long to my taste, but sure, why not. > > Also needs a space between the function name and the parentheses....
2019 Oct 08
1
[PATCH] v2v: windows: install QEMU Guest Agent MSI
...a g inspect in + if qemu_ga_files <> [] then ( + configure_qemu_ga qemu_ga_files; + ) else + warning (f_"QEMU Guest Agent MSI not found on tools ISO/directory. You may want to install the guest agent manually after conversion."); + unconfigure_xenpv (); unconfigure_prltools (); unconfigure_vmwaretools () @@ -416,6 +423,18 @@ popd Firstboot.add_firstboot_script g inspect.i_root "finish vmdp setup" fb_recover_script + and configure_qemu_ga files = + List.iter ( + fun msi_path -> + let fb_script = "\ +echo Installing qemu...
2016 Aug 23
0
Re: [PATCH 2/2] v2v:windows: prevent conflicts with PnP on firstboot
...= > + wait_pnp (); > (match installer with > | None -> () > | Some (`RhevApt, tool_path) -> configure_rhev_apt tool_path > @@ -226,6 +239,85 @@ let convert ~keep_serial_console (g : G.guestfs) inspect source rcaps = > unconfigure_xenpv (); > unconfigure_prltools () > > + and set_reg_val_dword_1 root key_path name = > + (* set reg value to REG_DWORD 1, creating intermediate keys if needed *) > + let node = > + let rec loop parent = function > + | [] -> parent > + | x :: xs -> > + let node =...
2016 Sep 01
0
Re: [PATCH v2 2/2] v2v:windows: prevent conflicts with PnP on firstboot
...= > + wait_pnp (); > (match installer with > | None -> () > | Some (`RhevApt, tool_path) -> configure_rhev_apt tool_path > @@ -226,6 +239,85 @@ let convert ~keep_serial_console (g : G.guestfs) inspect source rcaps = > unconfigure_xenpv (); > unconfigure_prltools () > > + and set_reg_val_dword_1 root key_path name = > + (* set reg value to REG_DWORD 1, creating intermediate keys if needed *) > + let node = > + let rec loop parent = function > + | [] -> parent > + | x :: xs -> > + let node =...
2016 May 12
0
[PATCH 07/11] v2v: add support for SUSE VMDP drivers
...ller_path in + match installer_name with + | "rhev-apt.exe" -> configure_rhev_apt () + | "vmdp.exe" -> configure_vmdp () + | _ -> info (f_"No setup function for installer '%s'") installer_path; unconfigure_xenpv (); unconfigure_prltools () @@ -219,7 +233,7 @@ let convert ~keep_serial_console (g : G.guestfs) inspect source rcaps = (* Configure RHEV-APT (the RHEV guest agent). However if it doesn't * exist just warn about it and continue. *) - match rhev_apt_exe with + match installer with | None...
2017 Apr 05
7
[PATCH 0/6] v2v: Add drivers for virtio-rng, balloon, pvpanic.
Yaniv pointed out in https://bugzilla.redhat.com/show_bug.cgi?id=1438794 that virt-v2v both doesn't install the virtio-rng driver for Windows, and doesn't give the guest a virtio-rng PCI device either. There are two problems here: Firstly the Windows virtio-rng driver isn't included in the exploded tree (/usr/share/virtio-win) so it doesn't get copied into the guest. The solution
2017 Apr 06
0
[PATCH v4 3/9] v2v: linux: Replace 'ki_supports_virtio' field.
...ot "ide"? *) + [ "sym53c8xx" ] in (* Move the old initrd file out of the way. Note that dracut/mkinitrd * will refuse to overwrite an old file so we have to do this. @@ -1002,7 +1005,6 @@ let rec convert (g : G.guestfs) inspect source output rcaps = unconfigure_prltools (); let kernel = configure_kernel () in - let virtio = kernel.ki_supports_virtio in if output#keep_serial_console then ( configure_console (); @@ -1021,12 +1023,12 @@ let rec convert (g : G.guestfs) inspect source output rcaps = let block_type = match rcaps.rcaps_block_bu...
2016 May 18
0
[PATCH v2 07/11] v2v: add support for SUSE VMDP drivers
...None -> () + | Some (`RhevApt, tool_path) -> configure_rhev_apt tool_path + | Some (`VmdpExe, tool_path) -> configure_vmdp tool_path + | Some (_, installer_path) -> info (f_"No setup function for installer '%s'") installer_path; unconfigure_xenpv (); unconfigure_prltools () - and configure_rhev_apt () = + and configure_rhev_apt tool_path = (* Configure RHEV-APT (the RHEV guest agent). However if it doesn't * exist just warn about it and continue. *) - match rhev_apt_exe with - | None -> () - | Some rhev_apt_exe -> - g#...
2017 Apr 05
9
[PATCH v2 0/8] v2v: Add drivers for virtio-rng, balloon, pvpanic.
v1 was posted here: https://www.redhat.com/archives/libguestfs/2017-April/msg00031.html v1 -> v2: - Add support for -o glance. - Add support for -o qemu. - Fix the -o libvirt support for balloon as pointed out by Dan. - Fix a test failure caused by changing libvirt XML output. Rich.
2016 Sep 01
3
[PATCH v2 0/2] v2v:windows: prevent conflicts with PnP on firstboot
Wait for driver installations fired by the PnP manager to complete before running firstboot scripts. The first patch is a minor refactoring to pave the way for the second patch. The latter contains the bulk of the changes as well as the description of the idea. Roman Kagan (2): v2v:windows: factor out getting CurrentControlSet v2v:windows: prevent conflicts with PnP on firstboot --- v1
2017 Apr 06
9
[PATCH v3 0/8] v2v: Add drivers for virtio-rng, balloon, pvpanic.
v1: https://www.redhat.com/archives/libguestfs/2017-April/msg00031.html v2: https://www.redhat.com/archives/libguestfs/2017-April/msg00040.html v2 -> v3: - Fix Xen PV-only kernel detection. Rich.
2017 Feb 22
5
[PATCH 0/4] v2v: windows: Only try to install rhev-apt if the target is RHV (RHBZ#1161019).
The bug is: https://bugzilla.redhat.com/show_bug.cgi?id=1161019 This makes a few other minor refactorings to the code. Rich.
2016 Apr 05
0
[PATCH 7/7] v2v: add support for SUSE VMDP drivers
...ller_path in + match installer_name with + | "rhev-apt.exe" -> configure_rhev_apt () + | "vmdp.exe" -> configure_vmdp () + | _ -> info (f_"No setup function for installer '%s'") installer_path; unconfigure_xenpv (); unconfigure_prltools () @@ -219,7 +233,7 @@ let convert ~keep_serial_console (g : G.guestfs) inspect source rcaps = (* Configure RHEV-APT (the RHEV guest agent). However if it doesn't * exist just warn about it and continue. *) - match rhev_apt_exe with + match installer with | None...