Merge ~chad.smith/cloud-init:bug/1781229-centos6-copr-get-linux-distro into cloud-init:master
Proposed by
Chad Smith
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Scott Moser | ||||
Approved revision: | dffbb57447888a54977c91920bdc513052c9e6b2 | ||||
Merge reported by: | Server Team CI bot | ||||
Merged at revision: | not available | ||||
Proposed branch: | ~chad.smith/cloud-init:bug/1781229-centos6-copr-get-linux-distro | ||||
Merge into: | cloud-init:master | ||||
Diff against target: |
107 lines (+55/-3) 2 files modified
cloudinit/tests/test_util.py (+27/-2) cloudinit/util.py (+28/-1) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Scott Moser | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+349380@code.launchpad.net |
Commit message
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_
release codename information.
LP: #1781229
To post a comment you must log in.
FAILED: Continuous integration, rev:96b18320782 f2e2f75781f5dbd 0a89fa3d912a35 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 157/
https:/
Executed test runs:
SUCCESS: Checkout
FAILED: Unit & Style Tests
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 157/rebuild
https:/