~oddbloke/cloud-init/fix-gce-az

  • Committer: Scott Moser
  • Date: 2015-06-10 16:30:02 UTC
  • mfrom: (1110.1.3 master)
  • Revision ID: smoser@ubuntu.com-20150610163002-qj95kijgx4qj2x79
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
Filename Latest Rev Last Changed Committer Comment Size
..
cloud-config.conf 611 12 years ago Scott Moser mention that upstart job cloud-config emits cloud- 236 bytes Diff Download File
cloud-final.conf 559.2.378 12 years ago Scott Moser change upstart jobs to use single 'cloud-init' bin 297 bytes Diff Download File
cloud-init-blocknet.conf 1017 10 years ago Scott Moser cloud-init-blocknet: remove debug code going to /r 2.4 KB Diff Download File
cloud-init-container.conf 779 11 years ago Scott Moser upstart/cloud-init-container.conf: ensure /run/net 1.9 KB Diff Download File
cloud-init-local.conf 1012.1.1 10 years ago Scott Moser upstart: add blocknet which blocks net until after 379 bytes Diff Download File
cloud-init-nonet.conf 1016 10 years ago Scott Moser upstart/cloud-init-nonet.conf: only mention wait i 1.8 KB Diff Download File
cloud-init.conf 559.2.378 12 years ago Scott Moser change upstart jobs to use single 'cloud-init' bin 202 bytes Diff Download File
cloud-log-shutdown.conf 613 12 years ago Scott Moser add uptime to the output of cloud-log-shutdown 562 bytes Diff Download File