From 958b59cc0082a2723c6a20262a6df00adb750f2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sat, 3 Oct 2015 01:50:15 +0200 Subject: [PATCH] core: Show the right kernel version for DispVMs Fixes QubesOS/qubes-issues#948 --- core-modules/01QubesDisposableVm.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core-modules/01QubesDisposableVm.py b/core-modules/01QubesDisposableVm.py index 68b4319f..d27e9068 100644 --- a/core-modules/01QubesDisposableVm.py +++ b/core-modules/01QubesDisposableVm.py @@ -97,6 +97,11 @@ class QubesDisposableVm(QubesVm): disp_template = kwargs['disp_template'] kwargs['template'] = disp_template.template kwargs['dir_path'] = disp_template.dir_path + kwargs['kernel'] = disp_template.kernel + kwargs['uses_default_kernel'] = disp_template.uses_default_kernel + kwargs['kernelopts'] = disp_template.kernelopts + kwargs['uses_default_kernelopts'] = \ + disp_template.uses_default_kernelopts super(QubesDisposableVm, self).__init__(**kwargs) assert self.template is not None, "Missing template for DisposableVM!"