~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
..
21-cloudinit.conf 334 13 years ago Scott Moser improve comment strings in rsyslog config file too 252 bytes Diff Download File
File build-on-freebsd 992.3.11 9 years ago Scott Moser tools/build-on-freebsd: e2fsprogs provides blkid 1.5 KB Diff Download File
File ccfg-merge-debug 1052.1.14 9 years ago Barry Warsaw Low hanging Python 3 fruit. 2.4 KB Diff Download File
File cloud-init-per 493.1.5 12 years ago Scott Moser put sem/marker files in 'sem' dirs 1.6 KB Diff Download File
File hacking.py 1099 9 years ago Scott Moser fix 'Make pyflakes' 5.2 KB Diff Download File
File make-dist-tarball 804.1.1 11 years ago Scott Moser tools: fix [some] shell quoting problems There we 388 bytes Diff Download File
File make-mime.py 761.1.1 11 years ago Joshua Harlow Add in a tool to help make mime multipart messages 1.9 KB Diff Download File
File make-tarball 961 10 years ago Scott Moser tools/make-tarball: add ability to include uncommi 885 bytes Diff Download File
File mock-meta.py 1000.1.3 9 years ago Scott Moser further remove evidence of pylint. This just remo 13.7 KB Diff Download File
File motd-hook 161 14 years ago Scott Moser fix motd-hook in case of more than 4 fields in BUI 1.2 KB Diff Download File
File read-dependencies 1052.1.38 9 years ago Scott Moser make bddeb work with python3 or python2 painful, 813 bytes Diff Download File
File read-version 896.3.12 10 years ago Scott Moser merge from trunk 738 bytes Diff Download File
File run-pep8 1047 9 years ago Scott Moser tools/run-pep8: remove leading ',' fed to --ignore 1 KB Diff Download File
File tox-venv 1054.1.7 9 years ago Scott Moser add tools/tox-venv for running in a tox env 1012 bytes Diff Download File
File uncloud-init 460 12 years ago Scott Moser fix updates.tar function in uncloud-init 3.9 KB Diff Download File
File validate-yaml.py 1099 9 years ago Scott Moser fix 'Make pyflakes' 526 bytes Diff Download File
File write-ssh-key-fingerprints 739.2.3 11 years ago Scott Moser replace if..else based on presense of /etc/redhat- 1 KB Diff Download File
File Z99-cloud-locale-test.sh 701.1.3 11 years ago Scott Moser work with zsh by using 'emulate -L sh'. This make 2.6 KB Diff Download File