yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #20627
[Bug 1341508] Re: systemd detection on Enterprise Linux needs to look for clones
Sorry - didn't mean to create another bug here. Still figuring out
launchpad interface.
** Changed in: centos
Status: New => Invalid
** No longer affects: centos
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1341508
Title:
systemd detection on Enterprise Linux needs to look for clones
Status in Init scripts for use on cloud images:
Confirmed
Bug description:
The Platform identification for Enterprise Linux changes based upon
the clone used.
For example CentOS is:
>>> platform.linux_distribution()
('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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1341508/+subscriptions
References