search for: get_osinfo_id

Displaying 8 results from an estimated 8 matches for "get_osinfo_id".

2019 Feb 28
2
[PATCH] v2v: -o libvirt: write win2k19 osinfo ID
...it by looking at its product name. --- v2v/create_libvirt_xml.ml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/v2v/create_libvirt_xml.ml b/v2v/create_libvirt_xml.ml index a8dc1f2f0..dbc24315f 100644 --- a/v2v/create_libvirt_xml.ml +++ b/v2v/create_libvirt_xml.ml @@ -124,6 +124,11 @@ let get_osinfo_id = function | { i_type = "windows"; i_major_version = 6; i_minor_version = 3 } -> Some "http://microsoft.com/win/8.1" + | { i_type = "windows"; i_major_version = 10; i_minor_version = 0; + i_product_variant = "Server"; i_product_name = produ...
2019 Dec 10
1
[v2v PATCH] v2v: -o libvirt: write CentOS 8 osinfo ID
...hout a minor version. --- v2v/create_libvirt_xml.ml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/v2v/create_libvirt_xml.ml b/v2v/create_libvirt_xml.ml index dbc24315..002ce2b8 100644 --- a/v2v/create_libvirt_xml.ml +++ b/v2v/create_libvirt_xml.ml @@ -43,9 +43,14 @@ let get_osinfo_id = function i_major_version = major; i_minor_version = minor } when major < 7 -> Some (sprintf "http://centos.org/centos/%d.%d" major minor) - | { i_type = "linux"; i_distro = "centos"; i_major_version = major } -> + | { i_type = "linux&quo...
2018 Nov 23
2
[PATCH] v2v: Add support for libosinfo metadata
...index 55e83e8bc1b9..180f3768792b 100644 --- a/v2v/create_libvirt_xml.ml +++ b/v2v/create_libvirt_xml.ml @@ -34,8 +34,102 @@ let find_target_disk targets { s_disk_id = id } = try List.find (fun t -> t.target_overlay.ov_source.s_disk_id = id) targets with Not_found -> assert false +let get_osinfo_id = function + | { i_type = "linux"; i_distro = "rhel"; + i_major_version = major; i_minor_version = minor } -> + Some (sprintf "http://redhat.com/rhel/%d.%d" major minor) + + | { i_type = "linux"; i_distro = "centos"; + i_major_vers...
2018 Nov 23
2
Re: [PATCH] v2v: Add support for libosinfo metadata
...reate_libvirt_xml.ml >> +++ b/v2v/create_libvirt_xml.ml >> @@ -34,8 +34,102 @@ let find_target_disk targets { s_disk_id = id } = >> try List.find (fun t -> t.target_overlay.ov_source.s_disk_id = id) targets >> with Not_found -> assert false >> >> +let get_osinfo_id = function >> + | { i_type = "linux"; i_distro = "rhel"; >> + i_major_version = major; i_minor_version = minor } -> >> + Some (sprintf "http://redhat.com/rhel/%d.%d" major minor) >> + >> + | { i_type = "linux"; i_dis...
2018 Nov 23
0
Re: [PATCH] v2v: Add support for libosinfo metadata
...00644 > --- a/v2v/create_libvirt_xml.ml > +++ b/v2v/create_libvirt_xml.ml > @@ -34,8 +34,102 @@ let find_target_disk targets { s_disk_id = id } = > try List.find (fun t -> t.target_overlay.ov_source.s_disk_id = id) targets > with Not_found -> assert false > > +let get_osinfo_id = function > + | { i_type = "linux"; i_distro = "rhel"; > + i_major_version = major; i_minor_version = minor } -> > + Some (sprintf "http://redhat.com/rhel/%d.%d" major minor) > + > + | { i_type = "linux"; i_distro = "centos&q...
2018 Nov 23
1
[PATCH v2] v2v: Add support for libosinfo metadata
...index 55e83e8bc1b9..6b2fb874a5a6 100644 --- a/v2v/create_libvirt_xml.ml +++ b/v2v/create_libvirt_xml.ml @@ -34,8 +34,112 @@ let find_target_disk targets { s_disk_id = id } = try List.find (fun t -> t.target_overlay.ov_source.s_disk_id = id) targets with Not_found -> assert false +let get_osinfo_id = function + | { i_type = "linux"; i_distro = "rhel"; + i_major_version = major; i_minor_version = minor } -> + Some (sprintf "http://redhat.com/rhel/%d.%d" major minor) + + | { i_type = "linux"; i_distro = "centos"; + i_major_vers...
2018 Nov 23
0
Re: [PATCH] v2v: Add support for libosinfo metadata
...>>+++ b/v2v/create_libvirt_xml.ml > >>@@ -34,8 +34,102 @@ let find_target_disk targets { s_disk_id = id } = > >> try List.find (fun t -> t.target_overlay.ov_source.s_disk_id = id) targets > >> with Not_found -> assert false > >> > >>+let get_osinfo_id = function > >>+ | { i_type = "linux"; i_distro = "rhel"; > >>+ i_major_version = major; i_minor_version = minor } -> > >>+ Some (sprintf "http://redhat.com/rhel/%d.%d" major minor) > >>+ > >>+ | { i_type = &quo...
2018 Nov 23
3
Re: [PATCH] v2v: Add support for libosinfo metadata
...reate_libvirt_xml.ml >> >>@@ -34,8 +34,102 @@ let find_target_disk targets { s_disk_id = id } = >> >> try List.find (fun t -> t.target_overlay.ov_source.s_disk_id = id) targets >> >> with Not_found -> assert false >> >> >> >>+let get_osinfo_id = function >> >>+ | { i_type = "linux"; i_distro = "rhel"; >> >>+ i_major_version = major; i_minor_version = minor } -> >> >>+ Some (sprintf "http://redhat.com/rhel/%d.%d" major minor) >> >>+ >> >>...