vm: disable uses_custom_config for now

This commit is contained in:
Marek Marczykowski-Górecki 2016-02-09 00:25:06 +01:00 committed by Wojtek Porczyk
parent db20581340
commit 4095f3c5eb

View File

@ -384,11 +384,12 @@ class BaseVM(qubes.PropertyHolder):
if file_path is None: if file_path is None:
file_path = self.conf_file file_path = self.conf_file
if self.uses_custom_config: # TODO
conf_appvm = open(file_path, "r") # if self.uses_custom_config:
domain_config = conf_appvm.read() # conf_appvm = open(file_path, "r")
conf_appvm.close() # domain_config = conf_appvm.read()
return domain_config # conf_appvm.close()
# return domain_config
f_conf_template = open(self.config_file_template, 'r') f_conf_template = open(self.config_file_template, 'r')
conf_template = f_conf_template.read() conf_template = f_conf_template.read()