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.
This commit is contained in:
Richard W.M. Jones
2014-08-13 12:37:48 +01:00
parent b743fe2c3e
commit f0b71818a6

View File

@@ -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