Browse Source

core: fix tempate HVM creation

Marek Marczykowski-Górecki 10 years ago
parent
commit
047cbb3443
1 changed files with 2 additions and 0 deletions
  1. 2 0
      core-modules/02QubesTemplateHVm.py

+ 2 - 0
core-modules/02QubesTemplateHVm.py

@@ -71,6 +71,8 @@ class QubesTemplateHVm(QubesHVm):
 
     @classmethod
     def is_template_compatible(cls, template):
+        if template is None:
+            return True
         return False
 
     def resize_root_img(self, size):