SHA256
1
0
forked from pool/cloud-init

- 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
This commit is contained in:
Robert Schweikert 2020-03-26 17:22:08 +00:00 committed by Git OBS Bridge
parent d59aba31a6
commit 62128da3ea
2 changed files with 9 additions and 1 deletions

View File

@ -41,7 +41,7 @@
+ # Render subnet routes + # Render subnet routes
+ routes = subnet.get('routes', []) + routes = subnet.get('routes', [])
+ for route in routes: + for route in routes:
+ dest = route.get('destination') + dest = route.get('destination') or route.get('network')
+ if dest in default_nets: + if dest in default_nets:
+ dest = 'default' + dest = 'default'
+ if dest != 'default': + if dest != 'default':

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Mar 26 17:20:12 UTC 2020 - Robert Schweikert <rjschwei@suse.com>
- 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 <rjschwei@suse.com> Wed Mar 25 18:31:32 UTC 2020 - Robert Schweikert <rjschwei@suse.com>