Use !auto_cleanup as DispVM include_in_backups default
This commit is contained in:
parent
1562defd42
commit
84ca0c6df5
@ -41,6 +41,10 @@ class DispVM(qubes.vm.qubesvm.QubesVM):
|
||||
auto_cleanup = qubes.property('auto_cleanup', type=bool, default=False,
|
||||
doc='automatically remove this VM upon shutdown')
|
||||
|
||||
include_in_backups = qubes.property('include_in_backups', type=bool,
|
||||
default=(lambda self: not self.auto_cleanup),
|
||||
doc='If this domain is to be included in default backup.')
|
||||
|
||||
def __init__(self, app, xml, *args, **kwargs):
|
||||
self.volume_config = {
|
||||
'root': {
|
||||
|
Loading…
Reference in New Issue
Block a user