mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user