diff --git a/image_creator/os_type/windows/__init__.py b/image_creator/os_type/windows/__init__.py index 1bba810c38712b2c1058c23c736ff85f33fe04e6..f0549a32c70ce9f57d5876fb9249df0279367c6f 100644 --- a/image_creator/os_type/windows/__init__.py +++ b/image_creator/os_type/windows/__init__.py @@ -718,6 +718,10 @@ class Windows(OSBase): else: self.meta['REMOTE_CONNECTION'] += "rdp:port=%d" % port + self.meta["KERNEL"] = "Windows NT %d.%d" % \ + (guestfs.inspect_get_major_version(self.root), + guestfs.inspect_get_minor_version(self.root)) + def _check_connectivity(self): """Check if winexe works on the Windows VM"""