mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
v2v: recognize Virtuozzo tools as Parallels tools
Recent updates of Virtuozzo Server 6 (fka Parallels Cloud Server 6) have "Virtuozzo tools" instead of "Parallels tools" as their display name in the corresponding Uninstall registry key. Recognize those, too, and schedule their uninstallation on first boot. Signed-off-by: Roman Kagan <rkagan@virtuozzo.com> Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
This commit is contained in:
@@ -183,7 +183,7 @@ let convert ~keep_serial_console (g : G.guestfs) inspect source rcaps =
|
||||
raise Not_found;
|
||||
|
||||
let dispname = g#hivex_value_utf8 valueh in
|
||||
if not (Str.string_match (Str.regexp ".*Parallels Tools.*")
|
||||
if not (Str.string_match (Str.regexp ".*\\(Parallels\\|Virtuozzo\\) Tools.*")
|
||||
dispname 0) then
|
||||
raise Not_found;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user