backup: fix name of meminfo-writer feature
It's 'service.meminfo-writer'.
This commit is contained in:
parent
cbdc2170b4
commit
001b42f7d8
@ -31,7 +31,7 @@ import qubesadmin.backup
|
||||
service_to_feature = {
|
||||
'ntpd': 'service.ntpd',
|
||||
'qubes-update-check': 'check-updates',
|
||||
'meminfo-writer': 'services.meminfo-writer',
|
||||
'meminfo-writer': 'service.meminfo-writer',
|
||||
}
|
||||
|
||||
class Core2VM(qubesadmin.backup.BackupVM):
|
||||
|
@ -159,7 +159,7 @@ parsed_qubes_xml_r2 = {
|
||||
},
|
||||
'devices': {},
|
||||
'tags': set(),
|
||||
'features': {'services.meminfo-writer': True},
|
||||
'features': {'service.meminfo-writer': True},
|
||||
'template': None,
|
||||
'backup_path': None,
|
||||
'included_in_backup': False,
|
||||
@ -183,7 +183,7 @@ parsed_qubes_xml_r2 = {
|
||||
'tags': set(),
|
||||
'features': {
|
||||
'service.ntpd': False,
|
||||
'services.meminfo-writer': False
|
||||
'service.meminfo-writer': False
|
||||
},
|
||||
'template': 'fedora-20-x64',
|
||||
'backup_path': None,
|
||||
@ -200,7 +200,7 @@ parsed_qubes_xml_r2 = {
|
||||
},
|
||||
'devices': {},
|
||||
'tags': set(),
|
||||
'features': {'services.meminfo-writer': True},
|
||||
'features': {'service.meminfo-writer': True},
|
||||
'template': 'fedora-20-x64',
|
||||
'backup_path': None,
|
||||
'included_in_backup': False,
|
||||
@ -216,7 +216,7 @@ parsed_qubes_xml_r2 = {
|
||||
'devices': {},
|
||||
'tags': set(),
|
||||
'features': {
|
||||
'internal': True, 'services.meminfo-writer': True},
|
||||
'internal': True, 'service.meminfo-writer': True},
|
||||
'template': 'fedora-20-x64',
|
||||
'backup_path': None,
|
||||
'included_in_backup': False,
|
||||
@ -227,7 +227,7 @@ parsed_qubes_xml_r2 = {
|
||||
'properties': {'virt_mode': 'pv', 'maxmem': '1535'},
|
||||
'devices': {},
|
||||
'tags': set(),
|
||||
'features': {'services.meminfo-writer': True},
|
||||
'features': {'service.meminfo-writer': True},
|
||||
'template': 'fedora-20-x64',
|
||||
'backup_path': None,
|
||||
'included_in_backup': False,
|
||||
@ -238,7 +238,7 @@ parsed_qubes_xml_r2 = {
|
||||
'properties': {'virt_mode': 'pv', 'maxmem': '1535'},
|
||||
'devices': {},
|
||||
'tags': set(),
|
||||
'features': {'services.meminfo-writer': True},
|
||||
'features': {'service.meminfo-writer': True},
|
||||
'template': 'fedora-20-x64',
|
||||
'backup_path': None,
|
||||
'included_in_backup': False,
|
||||
@ -254,7 +254,7 @@ parsed_qubes_xml_r2 = {
|
||||
},
|
||||
'devices': {},
|
||||
'tags': set(),
|
||||
'features': {'services.meminfo-writer': True},
|
||||
'features': {'service.meminfo-writer': True},
|
||||
'template': 'fedora-20-x64',
|
||||
'backup_path': None,
|
||||
'included_in_backup': False,
|
||||
@ -269,7 +269,7 @@ parsed_qubes_xml_r2 = {
|
||||
'provides_network': True},
|
||||
'devices': {},
|
||||
'tags': set(),
|
||||
'features': {'services.meminfo-writer': True},
|
||||
'features': {'service.meminfo-writer': True},
|
||||
'template': 'test-template-clone',
|
||||
'backup_path': None,
|
||||
'included_in_backup': False,
|
||||
@ -284,7 +284,7 @@ parsed_qubes_xml_r2 = {
|
||||
'provides_network': True},
|
||||
'devices': {},
|
||||
'tags': set(),
|
||||
'features': {'services.meminfo-writer': True},
|
||||
'features': {'service.meminfo-writer': True},
|
||||
'template': 'fedora-20-x64',
|
||||
'backup_path': 'servicevms/test-testproxy',
|
||||
'included_in_backup': True,
|
||||
@ -295,7 +295,7 @@ parsed_qubes_xml_r2 = {
|
||||
'properties': {'virt_mode': 'hvm', 'memory': '512'},
|
||||
'devices': {},
|
||||
'tags': set(),
|
||||
'features': {'services.meminfo-writer': False},
|
||||
'features': {'service.meminfo-writer': False},
|
||||
'template': None,
|
||||
'backup_path': 'appvms/test-testhvm',
|
||||
'included_in_backup': True,
|
||||
@ -307,7 +307,7 @@ parsed_qubes_xml_r2 = {
|
||||
'properties': {'virt_mode': 'pv', 'maxmem': '1535'},
|
||||
'devices': {},
|
||||
'tags': set(),
|
||||
'features': {'services.meminfo-writer': True},
|
||||
'features': {'service.meminfo-writer': True},
|
||||
'template': 'fedora-20-x64',
|
||||
'backup_path': 'appvms/test-work',
|
||||
'included_in_backup': True,
|
||||
@ -318,7 +318,7 @@ parsed_qubes_xml_r2 = {
|
||||
'properties': {'virt_mode': 'pv', 'maxmem': '1535'},
|
||||
'devices': {},
|
||||
'tags': set(),
|
||||
'features': {'services.meminfo-writer': True},
|
||||
'features': {'service.meminfo-writer': True},
|
||||
'template': None,
|
||||
'backup_path': 'vm-templates/test-template-clone',
|
||||
'included_in_backup': True,
|
||||
@ -329,7 +329,7 @@ parsed_qubes_xml_r2 = {
|
||||
'properties': {'virt_mode': 'pv', 'maxmem': '1535'},
|
||||
'devices': {},
|
||||
'tags': set(),
|
||||
'features': {'services.meminfo-writer': True},
|
||||
'features': {'service.meminfo-writer': True},
|
||||
'template': 'test-template-clone',
|
||||
'backup_path': 'appvms/test-custom-template-appvm',
|
||||
'included_in_backup': True,
|
||||
@ -340,7 +340,7 @@ parsed_qubes_xml_r2 = {
|
||||
'properties': {'virt_mode': 'pv', 'maxmem': '1535'},
|
||||
'devices': {},
|
||||
'tags': set(),
|
||||
'features': {'services.meminfo-writer': True},
|
||||
'features': {'service.meminfo-writer': True},
|
||||
'template': None,
|
||||
'backup_path': 'appvms/test-standalonevm',
|
||||
'included_in_backup': True,
|
||||
@ -364,7 +364,7 @@ parsed_qubes_xml_r2 = {
|
||||
'tags': set(),
|
||||
'features': {
|
||||
'service.ntpd': False,
|
||||
'services.meminfo-writer': False
|
||||
'service.meminfo-writer': False
|
||||
},
|
||||
'template': 'fedora-20-x64',
|
||||
'backup_path': 'servicevms/test-net',
|
||||
|
Loading…
Reference in New Issue
Block a user