Explorar o código

qubes/storage: Fix template instantiation

rootcow image was somehow dropped
Wojtek Porczyk %!s(int64=8) %!d(string=hai) anos
pai
achega
87f74a5ba8
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      qubes/storage/__init__.py

+ 6 - 0
qubes/storage/__init__.py

@@ -79,6 +79,12 @@ class VMStorage(object):
             else self.abspath(qubes.config.vm_files['root_img'])
 
 
+    @property
+    def rootcow_img(self):
+        '''Path to the root COW image'''
+        return self.abspath(qubes.config.vm_files['rootcow_img'])
+
+
     @property
     def volatile_img(self):
         '''Path to the volatile image'''