From b37bf55f5e01d7fe42fc6d4c8f8b37521575921c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sat, 21 May 2016 03:53:08 +0200 Subject: [PATCH] qubes/vm: fix handling rename Libvirt VM config is no longer named after VM. --- qubes/vm/qubesvm.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/qubes/vm/qubesvm.py b/qubes/vm/qubesvm.py index 0d46c5c1..5efa730d 100644 --- a/qubes/vm/qubesvm.py +++ b/qubes/vm/qubesvm.py @@ -586,11 +586,6 @@ class QubesVM(qubes.vm.mix.net.NetVMMixin, qubes.vm.BaseVM): self.storage.rename(old_name, new_name) - prefix = os.path.join(qubes.config.system_path['qubes_base_dir'], self.dir_path_prefix) - old_config = os.path.join(prefix, old_name, old_name + '.conf') - new_config = os.path.join(prefix, new_name, new_name + '.conf') - os.rename(old_config, new_config) - self._update_libvirt_domain() if self.autostart: