vm: disable uses_custom_config for now
This commit is contained in:
		
							parent
							
								
									db20581340
								
							
						
					
					
						commit
						4095f3c5eb
					
				@ -384,11 +384,12 @@ class BaseVM(qubes.PropertyHolder):
 | 
			
		||||
 | 
			
		||||
        if file_path is None:
 | 
			
		||||
            file_path = self.conf_file
 | 
			
		||||
        if self.uses_custom_config:
 | 
			
		||||
            conf_appvm = open(file_path, "r")
 | 
			
		||||
            domain_config = conf_appvm.read()
 | 
			
		||||
            conf_appvm.close()
 | 
			
		||||
            return domain_config
 | 
			
		||||
        # TODO
 | 
			
		||||
        # if self.uses_custom_config:
 | 
			
		||||
        #     conf_appvm = open(file_path, "r")
 | 
			
		||||
        #     domain_config = conf_appvm.read()
 | 
			
		||||
        #     conf_appvm.close()
 | 
			
		||||
        #     return domain_config
 | 
			
		||||
 | 
			
		||||
        f_conf_template = open(self.config_file_template, 'r')
 | 
			
		||||
        conf_template = f_conf_template.read()
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user