dom0/core: fix VM clone - prevent setter of label

This would create symlink for icon, but VM directory doesn't exists yet. Anyway
icon symlink will be created by create_on_disk().
This commit is contained in:
Marek Marczykowski 2013-02-12 01:39:43 +01:00
parent 893111d4fa
commit 134dfa6d46

View File

@ -1120,7 +1120,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', 'label']
'_mac', 'pcidevs', 'include_in_backups', '_label']
def clone_attrs(self, src_vm):
self._do_not_reset_firewall = True