From f0b71818a6bfb3a9a4c40f26604ee1e7dec67926 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 13 Aug 2014 12:37:48 +0100 Subject: [PATCH] v2v: Add fedora to "RHEL family". The calling code allows Fedora guests to be used when calling Convert_linux. However Convert_linux itself would fail with an assertion error when you did this. --- v2v/convert_linux.ml | 1 + 1 file changed, 1 insertion(+) diff --git a/v2v/convert_linux.ml b/v2v/convert_linux.ml index 3489c6bb5..18fb64fd4 100644 --- a/v2v/convert_linux.ml +++ b/v2v/convert_linux.ml @@ -74,6 +74,7 @@ let rec convert ?(keep_serial_console = true) verbose (g : G.guestfs) let family = match inspect.i_distro with + | "fedora" | "rhel" | "centos" | "scientificlinux" | "redhat-based" -> `RHEL_family | "sles" | "suse-based" | "opensuse" -> `SUSE_family | _ -> assert false in