~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
..
examples 133 14 years ago Scott Moser add doc/userdata.txt, move examples to doc/. Diff
rtd 763 11 years ago Joshua Harlow Add docs which can be used on readthedocs.org Inc Diff
sources 620 11 years ago Scott Moser doc: move datasource documentation to doc/sources Diff
merging.rst 805 11 years ago Joshua Harlow Fix the default string used for merging. It had b 7.1 KB Diff Download File
README 148 14 years ago Scott Moser more removal of 'ec2init' string, replacement with 134 bytes Diff Download File
status.txt 964 10 years ago Scott Moser write status to /run/cloud-init/ for external cons 1.7 KB Diff Download File
userdata.txt 415.1.5 12 years ago Scott Moser make 'include-once' really "download source once p 3.3 KB Diff Download File
var-lib-cloud.txt 337 13 years ago Scott Moser add previous-instance-id and previous-datasource f 1.8 KB Diff Download File
vendordata.txt 896.2.15 10 years ago Scott Moser doc improvements 2.4 KB Diff Download File