diff options
author | Robert Schweikert <rjschwei@suse.com> | 2018-05-29 20:54:19 -0600 |
---|---|---|
committer | Chad Smith <chad.smith@canonical.com> | 2018-05-29 20:54:19 -0600 |
commit | bbcc5e82e6c8e87ca483150205127cb0436c4cd9 (patch) | |
tree | a1fefb52ee9bb9c505d5f114e461becab63519ad /TODO.rst | |
parent | 4ba4639b86edad7ec89a55a61b7d9075f92d2166 (diff) | |
download | vyos-cloud-init-bbcc5e82e6c8e87ca483150205127cb0436c4cd9.tar.gz vyos-cloud-init-bbcc5e82e6c8e87ca483150205127cb0436c4cd9.zip |
util: add get_linux_distro function to replace platform.dist
Allow the user to set the distribution with --distro argument to setup.py.
Fall back is to read /etc/os-release. Final backup is to use
platform.dist() Python function. The platform.dist() function is
deprecated and will be removed in Python 3.7
LP: #1745235
Diffstat (limited to 'TODO.rst')
0 files changed, 0 insertions, 0 deletions