summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRobert Schweikert <rjschwei@suse.com>2018-05-29 20:54:19 -0600
committerChad Smith <chad.smith@canonical.com>2018-05-29 20:54:19 -0600
commitbbcc5e82e6c8e87ca483150205127cb0436c4cd9 (patch)
treea1fefb52ee9bb9c505d5f114e461becab63519ad /doc
parent4ba4639b86edad7ec89a55a61b7d9075f92d2166 (diff)
downloadvyos-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 'doc')
0 files changed, 0 insertions, 0 deletions