lp:~harlowja/cloud-init/udelta-verify
- Get this branch:
- bzr branch lp:~harlowja/cloud-init/udelta-verify
Branch merges
- cloud-init Commiters: Pending requested
-
Diff: 25 lines (+6/-2)1 file modifiedcloudinit/util.py (+6/-2)
Branch information
Recent revisions
- 863. By Joshua Harlow
-
Ensure udelta is valid
It appears that udelta could
have been left undefined or left
defined as a string "N/A" and then
put threw a float formatter previously.Fix that by ensure its set to a default
and put strong checking to make sure it
is a float before using float formatting. - 862. By Scott Moser
-
support base64 encoded data in the smart os datasource.
The big benefit of this is that now the user can put in arbitrary
data into the user-data or user-script keys and there is no concern
about the data being incorrectly read.Previously, if data contained '\n.\n', there was no way to differenciate
that from a end of message in the serial communication format.It would be recommended that anyone using user-data on smartos base64 encode
that data and specify a key of 'b64-user-data' with value 'true'. - 861. By Scott Moser
-
fix bad arguments to subp inside of apply_hostname_
bounce This simply correctly invokes subp through util.log_time.
The arguments to subp is named 'args' not 'command'. - 860. By Scott Moser
-
fix setting of password for a user on azure.
If azure ovf data specified a password, then get that password passed
through to useradd. Also updates the test case to verify that the
value was encrypted correctly. - 858. By Scott Moser
-
cc_growpart: prefer growpart over parted 'resizepart'
the resizepart code was not functional.
We will re-favor it later under bug 1212492.For now, we'll just favor the 'growpart' resizer.
Both will be found in Ubuntu cloud images. - 857. By Scott Moser
-
add options for apt_ftp_proxy, apt_https_proxy and apt_config
This adds ability to explicitly set http, https, ftp proxy for apt. Also
generically adds ability to give a apt config.apt-config could be done via write_files, but this is more specific to it.
- 855. By Joshua Harlow
-
reduce finding time zone file to top level distro
remove duplicates of some code.
- 854. By Scott Moser
-
add util.log_time helper
The reason for this is that more and more things I was wanting to be able to
see how long they took. This puts that time logic into a single place. It
also supports from /proc/uptime as the timing mechanism.While reading /proc/uptime is almost certainly slower than time.time(), it does
give millisecond granularity and is not affected by 'ntpdate' having run in
between the two events.
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