From 82a30e6d821dbaec90bed066e09613bfb28fd52a Mon Sep 17 00:00:00 2001 From: Moustafa Moustafa Date: Thu, 12 Aug 2021 10:13:13 -0700 Subject: Azure: Logging the detected interfaces (#968) --- cloudinit/net/__init__.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cloudinit/net') diff --git a/cloudinit/net/__init__.py b/cloudinit/net/__init__.py index 655558a1..017c50c5 100644 --- a/cloudinit/net/__init__.py +++ b/cloudinit/net/__init__.py @@ -661,6 +661,8 @@ def _rename_interfaces(renames, strict_present=True, strict_busy=True, cur['name'] = name cur_info[name] = cur + LOG.debug("Detected interfaces %s", cur_info) + def update_byname(bymac): return dict((data['name'], data) for data in cur_info.values()) -- cgit v1.2.3