mirror of
				https://github.com/laurivosandi/certidude
				synced 2025-10-31 01:19:11 +00:00 
			
		
		
		
	Add routes for NetworkManager only if they have been specified
This commit is contained in:
		| @@ -161,6 +161,7 @@ def certidude_request_spawn(fork): | |||||||
|                 config.set("ipv4", "method", "auto") |                 config.set("ipv4", "method", "auto") | ||||||
|  |  | ||||||
|                 # Add routes, may need some more tweaking |                 # Add routes, may need some more tweaking | ||||||
|  |                 if services.has_option(endpoint, "route"): | ||||||
|                     for index, subnet in enumerate(services.get(endpoint, "route").split(","), start=1): |                     for index, subnet in enumerate(services.get(endpoint, "route").split(","), start=1): | ||||||
|                         config.set("ipv4", "route%d" % index, subnet) |                         config.set("ipv4", "route%d" % index, subnet) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user