dom0/core: preserve VM label at VM clone

This commit is contained in:
Marek Marczykowski 2013-01-22 00:31:18 +01:00
parent 8600ea07b8
commit 3da1795e72

View File

@ -1110,7 +1110,7 @@ class QubesVm(object):
def get_clone_attrs(self):
return ['kernel', 'uses_default_kernel', 'netvm', 'uses_default_netvm', \
'memory', 'maxmem', 'kernelopts', 'uses_default_kernelopts', 'services', 'vcpus', \
'_mac', 'pcidevs', 'include_in_backups']
'_mac', 'pcidevs', 'include_in_backups', 'label']
def clone_attrs(self, src_vm):
self._do_not_reset_firewall = True