diff options
author | Chad Smith <chad.smith@canonical.com> | 2018-07-20 11:50:42 +0000 |
---|---|---|
committer | Server Team CI Bot <josh.powers+server-team-bot@canonical.com> | 2018-07-20 11:50:42 +0000 |
commit | d41cc82d11076a4f447ee13837ef2b0f7591642f (patch) | |
tree | 72440bc7698e9a5f8a55f787887f363b7f463ee1 /tests | |
parent | b07e491d2b69a25ab6dc5e56f6ba8b84d54867a9 (diff) | |
download | vyos-cloud-init-d41cc82d11076a4f447ee13837ef2b0f7591642f.tar.gz vyos-cloud-init-d41cc82d11076a4f447ee13837ef2b0f7591642f.zip |
get_linux_distro: add support for centos6 and rawhide flavors of redhat
An empty /etc/os-release exists on some redhat images, most notably
the COPR build images of centos6 and rawhide. On platforms missing
/etc/os-release or having an empty /etc/os-release file, use
_parse_redhat_release on rhel-based images to obtain distribution and
release codename information.
LP: #1781229
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions