forked from pool/cloud-init
- 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
This commit is contained in:
parent
56e2c9145a
commit
fa9ea3d43e
@ -38,7 +38,7 @@
|
|||||||
+ if 'default gw' in route_info:
|
+ if 'default gw' in route_info:
|
||||||
+ iface_info['gateway'] = ipv4.search(
|
+ iface_info['gateway'] = ipv4.search(
|
||||||
+ route_info).group(0)
|
+ route_info).group(0)
|
||||||
+ elif 'default gw' in route_info:
|
+ elif 'default gw' in routes:
|
||||||
+ iface_info['gateway'] = ipv4.search(route_info).group(0)
|
+ iface_info['gateway'] = ipv4.search(route_info).group(0)
|
||||||
+
|
+
|
||||||
# If ipv6 is enabled, device will have multiple IPs, so we need to
|
# If ipv6 is enabled, device will have multiple IPs, so we need to
|
||||||
|
@ -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
|
Thu Nov 16 22:48:40 UTC 2017 - rjschwei@suse.com
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user