lp://qastaging/~harlowja/cloud-init/update-prev-hostname-read
- Get this branch:
- bzr branch lp://qastaging/~harlowja/cloud-init/update-prev-hostname-read
Branch merges
- Scott Moser: Needs Fixing
-
Diff: 113 lines (+43/-21)2 files modifiedcloudinit/distros/__init__.py (+23/-1)
cloudinit/distros/debian.py (+20/-20)
Related bugs
Related blueprints
Branch information
Recent revisions
- 731. By Joshua Harlow
-
Only attempt to read the previous hostname file if it exists.
Instead of always reading the previous hostname file even if it
did not exist lets only read it if it is a valid variable and is
actually a existent file instead of just attempting to read it
always. - 730. By Scott Moser
-
support 'power_state' cloud-config for specifying shutdown
this adds 'power-
state-change' config module that allows the user to
specify in cloud-config syntax that a system reboot or shutdown should occur
after cloud-init is done. - 729. By Scott Moser
-
Even when using boto < 2.6 force the unlazying to occur
It seems like its possible that boto 2.5.2 and below have the lazy loading
metadata dictionary so as a precaution we will always take the hit of
unlazying the metadata dictionary by traversing it which in the non-lazy
dictionary case has no effect (its marginal). This also removes the need
to check the boto version and the dependency on setup tools just for this
case. - 728. By Scott Moser
-
'name' for default user must be all lower case.
if 'name' for the user had something other than all lower case, then
pwd.getpwname would fail. - 726. By Joshua Harlow
-
Use a set of helper/parsing classes to perform system configuration
Previously file modification of system configuration was done
in a functional and hard to test manner. Now instead this patch
allows for a manner that provides a nice object oriented
interface to those objects as well as makes it possible to test
those parsing entities without having to invoke distro class code.
- Created parsers for:
- /etc/sysconfig
- /etc/hostname
- resolv.conf
- /etc/hostsMoved duplicated functionality into the root level distro class including:
- apply_hostname
- set_hostname
- *various shared configuration file names/paths* - 723. By Joshua Harlow
-
Update changelog for previous commits.
Add in entry for LP: 1068801 and LP: 1075756
as well as LP: 1077245 and add in reason why
we are switching back to using 'None' as the
initial datasource value.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://qastaging/~cloud-init-dev/cloud-init/trunk