Fix AdminVm class name

This commit is contained in:
Christopher Laprise 2018-01-24 20:42:15 -05:00
parent 7f286766d0
commit 4b46d59179
No known key found for this signature in database
GPG Key ID: 448568C8B281C952

View File

@ -348,7 +348,7 @@ class Core2Qubes(qubesadmin.backup.BackupApp):
self.globals['default_kernel'] = tree.getroot().get("default_kernel")
vm_classes = ["AdminVM", "TemplateVm", "TemplateHVm",
vm_classes = ["AdminVm", "TemplateVm", "TemplateHVm",
"AppVm", "HVm", "NetVm", "ProxyVm"]
# First build qid->name map
@ -364,7 +364,7 @@ class Core2Qubes(qubesadmin.backup.BackupApp):
if 0 not in self.qid_map:
vm = Core2VM()
vm.name = 'dom0'
vm.klass = 'AdminVM'
vm.klass = 'AdminVm'
vm.label = 'black'
self.domains['dom0'] = vm
self.qid_map[0] = 'dom0'