DispVM has no “default_volume_config” property

Use “volume_config” (an instance property) instead
This commit is contained in:
Demi Marie Obenour 2020-11-20 22:42:49 -05:00
parent d46657a244
commit 9b3a598eff
No known key found for this signature in database
GPG Key ID: 28A45C93B0B5B6E0

View File

@ -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