search for: _remove_application

Displaying 3 results from an estimated 3 matches for "_remove_application".

Did you mean: _remove_applications
2012 Mar 12
1
[PATCH] virt-v2v: Support for Converting VirtualBox Guests
Hi, attached is an updated [1] patch for virt-v2v to support converting VirtualBox guests with VirtualBox Guest Additions [2] installed. With the patch applied a VirtualBox RHEL 6 guest with Guest Additions can be converted with the steps documented in the manual page. I've tested this patch on a RHEL 6.2 host running VirtualBox 4.1.8 using a RHEL 6.2 guest, the guest works as expected
2011 Feb 01
1
[PATCH] Check for, and uninstall, VMware Tools installed from tarball
...anged, 18 insertions(+), 0 deletions(-) diff --git a/lib/Sys/VirtV2V/Converter/RedHat.pm b/lib/Sys/VirtV2V/Converter/RedHat.pm index 762ee0e..114d876 100644 --- a/lib/Sys/VirtV2V/Converter/RedHat.pm +++ b/lib/Sys/VirtV2V/Converter/RedHat.pm @@ -756,6 +756,24 @@ sub _unconfigure_vmware _remove_application($name, $g); } } + + # VMwareTools may have been installed from tarball, in which case the above + # won't detect it. Look for the uninstall tool, and run it if it's present. + # + # Note that it's important we do this early in the conversion process, as + #...
2011 Jan 20
1
[PATCH] Don't remove foreign kernels during conversion
...st - if(grep(/^xennet$/, @$modules) > 0) { - push(@kernels, $kernel->{version}); - } + foreach my $entry ($g->find("/lib/modules/$version/")) { + return 1 if $entry =~ /(^|\/)xennet\.k?o$/; } - return @kernels; + return 0; } sub _remove_application @@ -1457,21 +1424,6 @@ sub _install_good_kernel return $version; } -sub _remove_kernel -{ - my ($version, $g) = @_; - - # Work out which rpm contains the kernel - my @output = $g->command_lines(['rpm', '-qf', "/boot/vmlinuz-$version"]); - $g->comm...