~cloud-init-dev/cloud-init/trunk

  • Committer: Scott Moser
  • Date: 2015-07-22 19:17:10 UTC
  • mfrom: (1121.2.5 lp1411582)
  • Revision ID: smoser@ubuntu.com-20150722191710-i2d73higqmeiftfj
mounts: support reliably detecting and using Azure ephemeral disks

Azure's ephemeral disks are not guaranteed to be assigned the same name by
the kernel every boot. This causes problems on ~2% of Azure instances, and
can be fixed by using udev rules to give us a deterministic path to mount;
this patch introduces those udev rules and modifies the Azure data source
to use them.

Changes to a couple of config modules were also required. In some places,
they just needed to learn to dereference symlinks. In cc_mounts this
wasn't sufficient because the dereferenced device would have been put in
/etc/fstab (rather defeating the point of using the udev rules in the
first place). A fairly hefty refactor was required to separate "is this a
valid block device?" from "what shall I put in fstab?".
Filename Latest Rev Last Changed Committer Comment Size
..
cloud-config.conf 611 11 years ago Scott Moser mention that upstart job cloud-config emits cloud- 236 bytes Diff Download File
cloud-final.conf 559.2.378 11 years ago Scott Moser change upstart jobs to use single 'cloud-init' bin 297 bytes Diff Download File
cloud-init-blocknet.conf 1017 9 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 9 years ago Scott Moser upstart: add blocknet which blocks net until after 379 bytes Diff Download File
cloud-init-nonet.conf 1016 9 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 11 years ago Scott Moser change upstart jobs to use single 'cloud-init' bin 202 bytes Diff Download File
cloud-log-shutdown.conf 613 11 years ago Scott Moser add uptime to the output of cloud-log-shutdown 562 bytes Diff Download File