core: handle firewall.xml path during VM rename
This commit is contained in:
parent
cc8af79397
commit
2ed9008a83
@ -589,6 +589,9 @@ class QubesVm(object):
|
||||
self.icon_path = self.icon_path.replace(old_dirpath, new_dirpath)
|
||||
if hasattr(self, 'kernels_dir') and self.kernels_dir is not None:
|
||||
self.kernels_dir = self.kernels_dir.replace(old_dirpath, new_dirpath)
|
||||
if self.firewall_conf is not None:
|
||||
self.firewall_conf = self.firewall_conf.replace(old_dirpath,
|
||||
new_dirpath)
|
||||
|
||||
self._update_libvirt_domain()
|
||||
self.post_rename(old_name)
|
||||
|
Loading…
Reference in New Issue
Block a user