From 62128da3ea4f390b85e2d37574f2242fa4ada68f8247ed6b73df8d3e1a994756 Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Thu, 26 Mar 2020 17:22:08 +0000 Subject: [PATCH] - Update cloud-init-write-routes.patch + Still need to consider the "network" configuration uption for the v1 config implementation. Fixes regression introduced with update from Wed Feb 12 19:30:42 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=166 --- cloud-init-write-routes.patch | 2 +- cloud-init.changes | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/cloud-init-write-routes.patch b/cloud-init-write-routes.patch index 275faf1..910bd3c 100644 --- a/cloud-init-write-routes.patch +++ b/cloud-init-write-routes.patch @@ -41,7 +41,7 @@ + # Render subnet routes + routes = subnet.get('routes', []) + for route in routes: -+ dest = route.get('destination') ++ dest = route.get('destination') or route.get('network') + if dest in default_nets: + dest = 'default' + if dest != 'default': diff --git a/cloud-init.changes b/cloud-init.changes index 4315ca8..0893642 100644 --- a/cloud-init.changes +++ b/cloud-init.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Mar 26 17:20:12 UTC 2020 - Robert Schweikert + +- Update cloud-init-write-routes.patch + + Still need to consider the "network" configuration uption + for the v1 config implementation. Fixes regression + introduced with update from Wed Feb 12 19:30:42 + ------------------------------------------------------------------- Wed Mar 25 18:31:32 UTC 2020 - Robert Schweikert