Browse Source

DispVM has no “default_volume_config” property

Use “volume_config” (an instance property) instead
Demi Marie Obenour 3 years ago
parent
commit
9b3a598eff
1 changed files with 1 additions and 1 deletions
  1. 1 1
      qubes/vm/dispvm.py

+ 1 - 1
qubes/vm/dispvm.py

@@ -165,7 +165,7 @@ class DispVM(qubes.vm.qubesvm.QubesVM):
         ''' Adjust root (and possibly other snap_on_start=True) volume
         on template change.
         '''  # pylint: disable=unused-argument
-        qubes.vm.appvm.template_changed_update_storage(self, DispVM.default_volume_config)
+        qubes.vm.appvm.template_changed_update_storage(self, self.volume_config)
 
     @qubes.events.handler('domain-shutdown')
     @asyncio.coroutine