systemd detection on Enterprise Linux needs to look for clones
Bug #1341508 reported by
Neil Wilson
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Expired
|
Low
|
Unassigned |
Bug Description
The Platform identification for Enterprise Linux changes based upon the clone used.
For example CentOS is:
>>> platform.
('CentOS Linux', '7.0.1406', 'Core')
And no doubt Scientific Linux, etc. will be different again.
If it's not 'Fedora', then just checking whether /etc/redhat-release exists should be enough to identify Enterprise Linux. Then check the relevant major numbers.
Changed in centos: | |
status: | New → Invalid |
no longer affects: | centos |
To post a comment you must log in.
Just a simple patch