diff --git a/cloud-init-translate-netconf-ipv4-keep-gw.patch b/cloud-init-translate-netconf-ipv4-keep-gw.patch index 6e68a20..bfef553 100644 --- a/cloud-init-translate-netconf-ipv4-keep-gw.patch +++ b/cloud-init-translate-netconf-ipv4-keep-gw.patch @@ -38,7 +38,7 @@ + if 'default gw' in route_info: + iface_info['gateway'] = ipv4.search( + route_info).group(0) -+ elif 'default gw' in route_info: ++ elif 'default gw' in routes: + iface_info['gateway'] = ipv4.search(route_info).group(0) + # If ipv6 is enabled, device will have multiple IPs, so we need to diff --git a/cloud-init.changes b/cloud-init.changes index 451f9b3..2db27cc 100644 --- a/cloud-init.changes +++ b/cloud-init.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Nov 17 17:10:09 UTC 2017 - rjschwei@suse.com + +- Fix variable name in cloud-init-translate-netconf-ipv4-keep-gw.patch + ------------------------------------------------------------------- Thu Nov 16 22:48:40 UTC 2017 - rjschwei@suse.com