~harlowja/cloud-init/notify-on-reload

  • Committer: Scott Moser
  • Date: 2012-01-09 22:19:03 UTC
  • Revision ID: smoser@ubuntu.com-20120109221903-cgwfpowrtg7lwbln
run resizefs module on every boot

on EC2, you can:
 stop instance
 resize root volume
 start instance

Currently, the partition would get grown correctly in the initramfs, but
the root filesystem will not get automatically resized in that case as it
only runs per_instance.

This should not be harmfull in any case, as resizefs will just report
nothing to do:

$ sudo resize2fs /dev/sda5
resize2fs 1.42-WIP (16-Oct-2011)
The filesystem is already 25600278 blocks long.  Nothing to do!
Filename Latest Rev Last Changed Committer Comment Size
..
cloudinit 144 14 years ago Scott Moser globally remove ec2init and rename to cloudinit Diff
config 271 13 years ago Scott Moser remove 'biultin' config, separate cloud.cfg This Diff
debian.trunk 353 13 years ago Scott Moser add a debian.trunk dir and tools/bddeb to easily b Diff
doc 133 14 years ago Scott Moser add doc/userdata.txt, move examples to doc/. Diff
systemd 465 12 years ago Scott Moser Add sample/example systemd config files This impo Diff
templates 14 15 years ago Bazaar Package Importer * ec2-set-apt-sources.py: - Use a template to ge Diff
tools 82 14 years ago Scott Moser add tools/ directory and 'write-mime-multipart' w Diff
upstart 80 14 years ago Scott Moser put upstart files in upstart/, minor other changes Diff
ChangeLog 497 12 years ago Scott Moser fix issue with part-handlers and base64 encoding ( 8.6 KB Diff Download File
File cloud-init-cfg.py 492 12 years ago Scott Moser fix missing import for use of close_stdin revisio 3.1 KB Diff Download File
File cloud-init-query.py 282 13 years ago Scott Moser add 'cloud-init-query' tool, to query fields from 1.5 KB Diff Download File
File cloud-init.py 489.1.1 12 years ago Scott Moser make stdin read from /dev/null for all cloud-init 5.8 KB Diff Download File
File install.sh 103 14 years ago Scott Moser clean out 'build' directory in install.sh 1.2 KB Diff Download File
LICENSE 450 12 years ago Scott Moser add LICENSE file 34.3 KB Diff Download File
File setup.py 493.1.2 12 years ago Scott Moser replace cloud-init-run-module with cloud-init-per 1.9 KB Diff Download File
TODO 364 13 years ago Scott Moser change from yaml+'#include' to yaml + config.d for 497 bytes Diff Download File