maas/images/maas-region-controller/2.3_route.patch
Crank, Daniel (dc6350) 56521ab77c [470918] Update MaaS to 2.3.5
Updating MaaS to 2.3.5, as 2.3.0 appears to no longer be
available in the Ubuntu repo.

Change-Id: I5afb38d8e73485be1ab05a9ac2a18e1befe70152
2018-10-11 09:03:46 -05:00

14 lines
475 B
Diff

diff --git a/src/maasserver/preseed_network.py b/src/maasserver/preseed_network.py
index bb56765..1185ff1 100644
--- a/src/maasserver/preseed_network.py
+++ b/src/maasserver/preseed_network.py
@@ -203,7 +203,7 @@ class InterfaceConfiguration:
return {
route
for route in self.routes
- if route.source == source
+ if str(route.source.cidr) == str(source.cidr)
}
def _generate_addresses(self, version=1):