dom0: use path given in argument to store VM configuration

This commit is contained in:
Marek Marczykowski 2011-06-08 03:29:52 +02:00
parent f5e4cf58aa
commit 1647d03f74

View File

@ -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()