diff options
author | Scott Moser <smoser@ubuntu.com> | 2015-06-10 12:30:02 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2015-06-10 12:30:02 -0400 |
commit | 162ce6a5635574e8dba0be3e06d313a18b46adc6 (patch) | |
tree | bdbd06e2ddee5c539ff826488a082d6d5f574a62 /ChangeLog | |
parent | 0f3736ab501ceebaa3c9f5c7543b6218637cb6c7 (diff) | |
parent | 8db399f9149a81de5d65f0759792766ecd509ab3 (diff) | |
download | vyos-cloud-init-162ce6a5635574e8dba0be3e06d313a18b46adc6.tar.gz vyos-cloud-init-162ce6a5635574e8dba0be3e06d313a18b46adc6.zip |
check for systemd using sd_booted() semantics
The existing code determines if systemd is in use by looking at the
distribution name and version. This is prone to error because:
- RHEL derivatives other than CentOS (e.g., Scientific Linux) will fail
this test
- Distributions that are not derived from RHEL also use systemd
This patch makes cloud-init use the same logic that is used in systemd's
sd_booted() method
http://www.freedesktop.org/software/systemd/man/sd_booted.html
LP: #1461201
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -44,6 +44,8 @@ - EC2: know about eu-central-1 availability-zone (LP: #1456684) - Azure: remove password from on-disk ovf-env.xml (LP: #1443311) [Ben Howard] - Doc: include information on user-data in OpenStack [Daniel Watkins] + - Systemd: check for systemd using sd_booted symantics (LP: #1461201) + [Lars Kellogg-Stedman] 0.7.6: - open 0.7.6 - Enable vendordata on CloudSigma datasource (LP: #1303986) |