From fa9ea3d43ede5a7b25ede87a113ec85621662bef0a9100a2dd12634641306199 Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Fri, 17 Nov 2017 17:10:35 +0000 Subject: [PATCH] - Fix variable name in cloud-init-translate-netconf-ipv4-keep-gw.patch OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=95 --- cloud-init-translate-netconf-ipv4-keep-gw.patch | 2 +- cloud-init.changes | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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