backup: update DispVM template property: template_for_dispvms

It was renamed from 'dispvm_allowed'.

QubesOS/qubes-issues#3047
This commit is contained in:
Marek Marczykowski-Górecki 2017-10-16 03:20:16 +02:00
parent 001b42f7d8
commit d1eab2d4f5
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724
3 changed files with 7 additions and 7 deletions

View File

@ -234,7 +234,7 @@ class Core2Qubes(qubesadmin.backup.BackupApp):
vm.name = dispvm_tpl_name
vm.label = 'red'
vm.properties['netvm'] = dispvm_netvm
vm.properties['dispvm_allowed'] = True
vm.properties['template_for_dispvms'] = True
vm.backup_content = True
vm.backup_path = None
self.domains[vm.name] = vm

View File

@ -375,7 +375,7 @@ parsed_qubes_xml_r2 = {
'label': 'red',
'properties': {
'netvm': None,
'dispvm_allowed': True,
'template_for_dispvms': True,
},
'devices': {},
'features': {},
@ -389,7 +389,7 @@ parsed_qubes_xml_r2 = {
'label': 'red',
'properties': {
'netvm': 'test-testproxy',
'dispvm_allowed': True,
'template_for_dispvms': True,
},
'devices': {},
'features': {},
@ -518,7 +518,7 @@ parsed_qubes_xml_v4 = {
'klass': 'AppVM',
'label': 'red',
'properties': {
'dispvm_allowed': 'True',
'template_for_dispvms': 'True',
'vcpus': '1',
},
'devices': {},
@ -534,7 +534,7 @@ parsed_qubes_xml_v4 = {
'label': 'red',
'properties': {
'vcpus': '1',
'dispvm_allowed': 'True',
'template_for_dispvms': 'True',
},
'devices': {},
'tags': set(),

View File

@ -165,7 +165,7 @@
</domain>
<domain id="domain-12" class="AppVM">
<properties>
<property name="dispvm_allowed">True</property>
<property name="template_for_dispvms">True</property>
<property name="label">label-1</property>
<property name="name">fedora-25-clone-dvm</property>
<property name="qid">10</property>
@ -190,7 +190,7 @@
</domain>
<domain id="domain-10" class="AppVM">
<properties>
<property name="dispvm_allowed">True</property>
<property name="template_for_dispvms">True</property>
<property name="label">label-1</property>
<property name="name">fedora-25-dvm</property>
<property name="qid">10</property>