From 7b9c2a101fb6198eb58062669bb857f3f763c02dd4ef1a25ae9aa9de17a9d8a0 Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Mon, 23 Sep 2019 13:07:29 +0000 Subject: [PATCH] - 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 --- cloud-init-trigger-udev.patch | 2 +- cloud-init.changes | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/cloud-init-trigger-udev.patch b/cloud-init-trigger-udev.patch index 538e161..4431385 100644 --- a/cloud-init-trigger-udev.patch +++ b/cloud-init-trigger-udev.patch @@ -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 diff --git a/cloud-init.changes b/cloud-init.changes index 64e902e..99abc3a 100644 --- a/cloud-init.changes +++ b/cloud-init.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Sep 23 13:05:03 UTC 2019 - Robert Schweikert + +- 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