From 134dfa6d460e5e8ee277eb520ece3c196a7ba5f1 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Tue, 12 Feb 2013 01:39:43 +0100 Subject: [PATCH] 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(). --- dom0/qvm-core/qubes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom0/qvm-core/qubes.py b/dom0/qvm-core/qubes.py index d2bcb3c1..e25da6e6 100755 --- a/dom0/qvm-core/qubes.py +++ b/dom0/qvm-core/qubes.py @@ -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