414e6c4
Index: cloud-init-17.1/cloudinit/util.py
414e6c4
===================================================================
414e6c4
--- cloud-init-17.1.orig/cloudinit/util.py
414e6c4
+++ cloud-init-17.1/cloudinit/util.py
414e6c4
@@ -11,6 +11,7 @@
414e6c4
 import contextlib
414e6c4
 import copy as obj_copy
414e6c4
 import ctypes
414e6c4
+import distro
414e6c4
 import email
414e6c4
 import glob
414e6c4
 import grp
414e6c4
@@ -586,7 +587,7 @@ def system_info():
414e6c4
         'release': platform.release(),
414e6c4
         'python': platform.python_version(),
414e6c4
         'uname': platform.uname(),
414e6c4
-        'dist': platform.dist(),  # pylint: disable=W1505
414e6c4
+        'dist': distro.linux_distribution(full_distribution_name=False),
414e6c4
     }
414e6c4
     system = info['system'].lower()
414e6c4
     var = 'unknown'