SHA256
1
0
forked from pool/cloud-init

- Follow up to (bsc#1144363)

- In this implementation the "name" is not yet an attribute, use
    get() to obtain the value from a dict. Source code version confusion.

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=145
This commit is contained in:
Robert Schweikert 2019-09-23 13:07:29 +00:00 committed by Git OBS Bridge
parent ddfb957280
commit 7b9c2a101f
2 changed files with 8 additions and 1 deletions

View File

@ -27,7 +27,7 @@
+ # before they are all setup. Settle if that is the case.
+ for iface in network_state.iter_interfaces(
+ renderer.filter_by_physical):
+ path = net.sys_dev_path(iface.name)
+ path = net.sys_dev_path(iface.get('name'))
+ if not os.path.exists(path):
+ util.udevadm_settle(path, 5)
+ break

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Sep 23 13:05:03 UTC 2019 - Robert Schweikert <rjschwei@suse.com>
- Follow up to (bsc#1144363)
- In this implementation the "name" is not yet an attribute, use
get() to obtain the value from a dict. Source code version confusion.
-------------------------------------------------------------------
Mon Aug 19 16:46:35 UTC 2019 - Robert Schweikert <rjschwei@suse.com>