Last commit made on 2018-06-13
Get this branch:
git clone -b fix/1768600-utf8-in-user-data https://git.launchpad.net/~chad.smith/cloud-init
Only Chad Smith can upload to this branch. If you are Chad Smith please log in for upload directions.

Branch merges

Branch information


Recent commits

d6262a2... by Chad Smith

pycodestyle spacing fix

867db9c... by Chad Smith

Drop unicode character from docstr in unit test.

d6a4ebb... by Chad Smith

Add unit test for mime-parts and tweak existing unit tests to fail without this fix

b6d09aa... by Scott Moser

Be more safe on string/bytes when writing multipart user-data to disk.

When creating the multipart mime message that is written as
user-data.txt.i, cloud-init losing data on conversion to some things
as a string.

LP: #1768600

4c568f2... by Chad Smith

tests: ordered tox dependencies for pylxd install

The pylxd project has a setup.py which defines install dependencies.
Those sub-dependendencies include pbr and requests which in turn have
package version conflicts. Since tox doesn't order dependencies installed,
serially install pinned urllib3 at 1.22 which supports both pbr deps and
requests deps of pylxd.

bbcc5e8... by Robert Schweikert

util: add get_linux_distro function to replace platform.dist

Allow the user to set the distribution with --distro argument to setup.py.
Fall back is to read /etc/os-release. Final backup is to use
platform.dist() Python function. The platform.dist() function is
deprecated and will be removed in Python 3.7

LP: #1745235

4ba4639... by Scott Moser

pyflakes: fix unused variable references identified by pyflakes 2.0.0.

A newer version of pyflakes (2.0.0) was released.
It identifed some unused variables that version 1.6.0 did not identify.
The change here merely fixes those unused variables.

ae02c36... by Robert Schweikert

- Do not use the systemd_prefix macro, not available in this environment

f1cff69... by Chad Smith

doc: Add config info to ec2, openstack and cloudstack datasource docs

Also document instance-data.json on the top-level datasource topic page.

3f99f4a... by Dan McDonald <email address hidden>

Enable SmartOS network metadata to work with netplan via per-subnet routes

- Updated datadict reference URL
- Store sdc:routes metadata in DatasourceSmartOS
- Map sdc:routes values to per-interface subnet configuration
- Added unittest

Co-authored-by: Mike Gerdts <email address hidden>

LP: #1763512