Fix clone step failing, because git.hamburg.ccc.de could not be resolved
This commit is contained in:
		
					parent
					
						
							
								f5432bd682
							
						
					
				
			
			
				commit
				
					
						be7f6e4917
					
				
			
		
					 1 changed files with 7 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -10,4 +10,11 @@
 | 
			
		|||
    enable = true;
 | 
			
		||||
    defaultNetwork.settings.dns_enabled = true;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  networking.firewall.interfaces."podman0" = {
 | 
			
		||||
    # allowedUDPPorts = [ 53 ] gets already set by virtualisation.podman.defaultNetwork.settings.dns_enabled, but set it here explicitly anyway.
 | 
			
		||||
    allowedUDPPorts = [ 53 ];
 | 
			
		||||
    # For git.hamburg.ccc.de to resolve in the clone step for example, allowedTCPPorts also needs to be set to allow DNS.
 | 
			
		||||
    allowedTCPPorts = [ 53 ];
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue