diff --git a/confluent_osdeploy/common/profile/scripts/confignet b/confluent_osdeploy/common/profile/scripts/confignet index 20ee612c..02cb8c7a 100644 --- a/confluent_osdeploy/common/profile/scripts/confignet +++ b/confluent_osdeploy/common/profile/scripts/confignet @@ -208,7 +208,7 @@ class NetplanManager(object): gws.append(stgs.get('ipv4_gateway', None)) gws.append(stgs.get('ipv6_gateway', None)) for gwaddr in gws: - if gwaddr: + if gwaddr and gwaddr != '0.0.0.0': cfgroutes = self.getcfgarrpath([devname, 'routes']) for rinfo in cfgroutes: if rinfo.get('via', None) == gwaddr: