[Libguestfs] [PATCH] add default (unversioned) directory for guest agent on EL

Tomáš Golembiovský tgolembi at redhat.com
Thu Jan 16 14:02:52 UTC 2020


There was no source directory for EL8 guest agent (only EL6 and EL7).

RHBZ#1791802

Signed-off-by: Tomáš Golembiovský <tgolembi at redhat.com>
---
 v2v/windows_virtio.ml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/v2v/windows_virtio.ml b/v2v/windows_virtio.ml
index 5ec7664b..6ddc488a 100644
--- a/v2v/windows_virtio.ml
+++ b/v2v/windows_virtio.ml
@@ -192,7 +192,7 @@ and install_linux_tools g inspect =
       (match inspect.i_major_version with
        | 6 -> Some "el6"
        | 7 -> Some "el7"
-       | _ -> None)
+       | _ -> Some "el")
     | "sles" | "suse-based" | "opensuse" -> Some "lp151"
     | _ -> None in
 
-- 
2.24.1





More information about the Libguestfs mailing list