SHA256
1
0
forked from pool/cloud-init
Robert Schweikert 2017-11-17 18:55:19 +00:00 committed by Git OBS Bridge
parent fa9ea3d43e
commit 7a8b456518

View File

@ -39,7 +39,7 @@
+ iface_info['gateway'] = ipv4.search(
+ route_info).group(0)
+ elif 'default gw' in routes:
+ iface_info['gateway'] = ipv4.search(route_info).group(0)
+ iface_info['gateway'] = ipv4.search(routes).group(0)
+
# If ipv6 is enabled, device will have multiple IPs, so we need to
# update the dictionary instead of overwriting it...