Merge ~raharper/cloud-init:fix/sysconfig-distro-variant into cloud-init:master
Proposed by
Ryan Harper
Status: | Merged |
---|---|
Approved by: | Ryan Harper |
Approved revision: | 68ad30679acb0be436b36c148faa2894d0efe9e7 |
Merge reported by: | Server Team CI bot |
Merged at revision: | not available |
Proposed branch: | ~raharper/cloud-init:fix/sysconfig-distro-variant |
Merge into: | cloud-init:master |
Diff against target: |
52 lines (+20/-3) 2 files modified
cloudinit/net/sysconfig.py (+2/-3) tests/unittests/test_net.py (+18/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
Dan Watkins | Approve | ||
Review via email: mp+373277@code.launchpad.net |
Commit message
sysconfig: use distro variant to check if available
The sysconfig renderer used the distro name directly which mean
some variants of distros were not considered supported. Fix this
by using util.system_
KNOWN_DISTROS value for redhat -> rhel.
LP: #1843584
To post a comment you must log in.
Yes, thanks. I've dropped that unrelated hunk.