[Libosinfo] [PATCH osinfodb] os: fix version for windows 2016

Daniel P. Berrangé berrange at redhat.com
Tue May 8 12:35:57 UTC 2018


The win2k16 version is mistakely set to 1709 which looks like a build
patch level version. For windows distros we are using the NT kernel
version as the version field, since it is the only thing that increments
in a sensible manner across Windows releases.

Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
---
 data/os/microsoft.com/win-2k16.xml.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/os/microsoft.com/win-2k16.xml.in b/data/os/microsoft.com/win-2k16.xml.in
index 1f1bfc7..523733d 100644
--- a/data/os/microsoft.com/win-2k16.xml.in
+++ b/data/os/microsoft.com/win-2k16.xml.in
@@ -4,7 +4,7 @@
   <os id="http://microsoft.com/win/2k16">
     <short-id>win2k16</short-id>
     <_name>Microsoft Windows Server 2016</_name>
-    <version>1709</version>
+    <version>10.0</version>
     <_vendor>Microsoft Corporation</_vendor>
     <family>winnt</family>
     <distro>win</distro>
-- 
2.17.0




More information about the Libosinfo mailing list