qubes/vm/qubesvm: fix core2 compatibility

This commit is contained in:
Wojtek Porczyk 2015-10-02 12:32:33 +02:00
parent 8628a984fc
commit 3724d6fca1

View File

@ -1670,7 +1670,7 @@ class QubesVM(qubes.vm.BaseVM):
'''Create entries in Qubes DB.
'''
self.qdb.write("/name", self.name)
self.qdb.write("/qubes-vm-type", self.type)
self.qdb.write("/qubes-vm-type", self.__class__.__name__)
self.qdb.write("/qubes-vm-updateable", str(self.updateable))
if self.provides_network: