From 428dd5bc1bcde6ece10dc3c574c8d264acb6d036 Mon Sep 17 00:00:00 2001 From: Bahtiar `kalkin-` Gadimov Date: Mon, 28 Mar 2016 00:01:00 +0200 Subject: [PATCH] QubesVM.dir_path is set independent of storage --- qubes/vm/qubesvm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubes/vm/qubesvm.py b/qubes/vm/qubesvm.py index 9db842c1..27ec98d7 100644 --- a/qubes/vm/qubesvm.py +++ b/qubes/vm/qubesvm.py @@ -209,7 +209,7 @@ class QubesVM(qubes.vm.mix.net.NetVMMixin, qubes.vm.BaseVM): default='default', doc='storage pool for this qube devices') - dir_path = property((lambda self: self.storage.vmdir), + dir_path = property( (lambda self: os.path.join(qubes.config.system_path['qubes_base_dir'], self.dir_path_prefix, self.name)), doc='Root directory for files related to this domain') # XXX swallowed uses_default_kernel