mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
v2v: linux: identify Debian-based distros as `Debian_family
Identify these distributions, so it is possible to add specific code for them. This does not allow them as supported distributions, yet.
This commit is contained in:
@@ -77,6 +77,7 @@ let rec convert ~keep_serial_console (g : G.guestfs) inspect source rcaps =
|
||||
| "rhel" | "centos" | "scientificlinux" | "redhat-based"
|
||||
| "oraclelinux" -> `RHEL_family
|
||||
| "sles" | "suse-based" | "opensuse" -> `SUSE_family
|
||||
| "debian" | "ubuntu" | "linuxmint" -> `Debian_family
|
||||
| _ -> assert false in
|
||||
|
||||
assert (inspect.i_package_format = "rpm" || inspect.i_package_format = "deb");
|
||||
|
||||
Reference in New Issue
Block a user