config: Initialize proxy environment prior to fetching includes
In case of ConfigStatic, proxy settings only come from the host environment. We need them early, prior to fetching the first missing repo that is pulled via an include. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
		
				
					committed by
					
						
						Daniel Wagner
					
				
			
			
				
	
			
			
			
						parent
						
							6f37db72d4
						
					
				
				
					commit
					2be4007113
				
			@@ -336,6 +336,8 @@ class ConfigStatic(Config):
 | 
			
		||||
        (self._config, missing_repo_names) = \
 | 
			
		||||
            self.handler.get_config(repos=repo_paths)
 | 
			
		||||
 | 
			
		||||
        self.environ.update(self.get_proxy_config())
 | 
			
		||||
 | 
			
		||||
        while missing_repo_names:
 | 
			
		||||
            if missing_repo_names == missing_repo_names_old:
 | 
			
		||||
                raise IncludeException('Could not fetch all repos needed by '
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user