From 8ef5f4c6651046a47bfb1a2c960e5848fa250b2b Mon Sep 17 00:00:00 2001 From: Wojciech Zygmunt Porczyk Date: Wed, 7 May 2014 14:08:11 +0200 Subject: [PATCH] QubesTemplateVm: fire post-rename hooks --- core-modules/003QubesTemplateVm.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core-modules/003QubesTemplateVm.py b/core-modules/003QubesTemplateVm.py index 8f84f694..180f913c 100644 --- a/core-modules/003QubesTemplateVm.py +++ b/core-modules/003QubesTemplateVm.py @@ -105,6 +105,8 @@ class QubesTemplateVm(QubesVm): self.commit_changes(verbose=verbose) def post_rename(self, old_name): + super(QubesTemplateVm, self).post_rename(old_name) + old_dirpath = os.path.join(os.path.dirname(self.dir_path), old_name) self.clean_volatile_img = self.clean_volatile_img.replace(old_dirpath, self.dir_path) self.rootcow_img = self.rootcow_img.replace(old_dirpath, self.dir_path)