From 1647d03f745ecae68202b38b39aabb80b7c36dd4 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Wed, 8 Jun 2011 03:29:52 +0200 Subject: [PATCH] dom0: use path given in argument to store VM configuration --- 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 2551fa35..8b97e539 100755 --- a/dom0/qvm-core/qubes.py +++ b/dom0/qvm-core/qubes.py @@ -659,7 +659,7 @@ class QubesVm(object): f_conf_template.close() template_params = self.get_config_params(source_template) - conf_appvm = open(self.conf_file, "w") + conf_appvm = open(file_path, "w") conf_appvm.write(conf_template.format(**template_params)) conf_appvm.close()