diff options
author | Moustafa Moustafa <momousta@microsoft.com> | 2021-08-12 10:13:13 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-12 12:13:13 -0500 |
commit | 82a30e6d821dbaec90bed066e09613bfb28fd52a (patch) | |
tree | d4aaa281460252cfbfb67c9402b53c58e6b53125 | |
parent | b9d308b4d61d22bacc05bcae59819755975631f8 (diff) | |
download | vyos-cloud-init-82a30e6d821dbaec90bed066e09613bfb28fd52a.tar.gz vyos-cloud-init-82a30e6d821dbaec90bed066e09613bfb28fd52a.zip |
Azure: Logging the detected interfaces (#968)
-rw-r--r-- | cloudinit/net/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
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()) |