lp:~blair/cloud-init/cloud-init
- Get this branch:
- bzr branch lp:~blair/cloud-init/cloud-init
Branch merges
- Scott Moser: Pending requested
-
Diff: 227 lines (+149/-34)2 files modifiedcloudinit/util.py (+54/-34)
tests/unittests/test_util.py (+95/-0)
Branch information
Recent revisions
- 797. By Blair Zajac
-
Refactor util.get_
mount_info( ) to facilitate unit testing. Refactor the parsing portion of util.get_
mount_info( ) into a new
util.parse_mount_info( ) method. Now util.get_ mount_info( ) opens
/proc/$$/mountinfo, splits on newlines and passes the lines to
util.parse_mount_info( ). - 795. By Scott Moser
-
support different and user-suppliable merging algorithms for cloud-config
This adds a very useful mechanism for merging cloud-config, allowing
the user to append to lists (ie, just add more 'run_cmd') or other
things.See doc/merging.txt for more information, it is intended to be backwards
compatible by default. - 793. By Scott Moser
-
fix a pylint complaint in test_handler_
growpart E1103: 81,44:TestWrite
File.test_ basic_usage: Instance of 'Bunch' has no
'st_mode' member (but some types could not be inferred)so, if it wants st_mode, for now just give it one.
- 792. By Scott Moser
-
allow customization of apt-get command, add --force-unsafe-io
This allows the customization of the apt-get command used for installing
packages, and also adds '--force-unsafe- io'. Because this is spawned from
cloud-init, it seems to make sense as a first boot package installation
option. - 790. By Scott Moser
-
add 'growpart' config module.
This adds support for resizing partition tables for mounted partitions.
It thus allows us to remove 'cloud-initramfs- growpart' from running in
the initramfs, and do it here instead.That depends on:
a.) growpart in cloud-utils 0.2.7 or later
or
parted with 'resizepart' support
b.) kernel 3.8.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~cloud-init-dev/cloud-init/trunk